about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2015-03-05 09:38:31 +0000
committerPeter Stephenson <pws@zsh.org>2015-03-05 09:38:31 +0000
commit732eeae1b56146d101bb5cab7e94532f2b99675e (patch)
tree5287e6690d3298ded943dcbb53f075ff85641293 /Test
parent4bc554bb8b46d9b47bb847a72bb5c0226d54b8e5 (diff)
downloadzsh-732eeae1b56146d101bb5cab7e94532f2b99675e.tar.gz
zsh-732eeae1b56146d101bb5cab7e94532f2b99675e.tar.xz
zsh-732eeae1b56146d101bb5cab7e94532f2b99675e.zip
Missing test for alias fix
Diffstat (limited to 'Test')
-rw-r--r--Test/A02alias.ztst15
1 files changed, 15 insertions, 0 deletions
diff --git a/Test/A02alias.ztst b/Test/A02alias.ztst
index 7121c50ef..36dfa241e 100644
--- a/Test/A02alias.ztst
+++ b/Test/A02alias.ztst
@@ -42,3 +42,18 @@
   cat <(echo foo | cat)
 0:Alias expansion works at the end of parsed strings
 >foo
+
+  alias '&&=(){ return $?; } && '
+  alias not_the_print_command=print
+  eval 'print This is output
+  && print And so is this
+  && { print And this too; false; }
+  && print But not this
+  && print Nor this
+  true
+  && not_the_print_command And aliases are expanded'
+0:We can now alias special tokens.  Woo hoo.
+>This is output
+>And so is this
+>And this too
+>And aliases are expanded