1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-23 16:40:24 +02:00

A couple of regression tests.

This commit is contained in:
Bart Schaefer 2001-03-25 03:03:20 +00:00
parent aff2d638e6
commit 85850097fb
2 changed files with 39 additions and 0 deletions

View file

@ -489,3 +489,40 @@
>1
>a
> b
set If "this test fails" "we have broken" the shell again
print -l ${1+"$@"}
0:Regression test of ${1+"$@"} bug
>If
>this test fails
>we have broken
>the
>shell
>again
set If "this test fails" "we have broken" the shell again
print -l "${(A)foo::=$@}"
print -l $foo
0:Regression test of "${(A)foo=$@}" bug
>If this test fails we have broken the shell again
>If
>this test fails
>we have broken
>the
>shell
>again
set If "this test fails" maybe "we have finally fixed" the shell
print -l ${=1+"$@"}
0:Regression test of unfixed ${=1+"$@"} bug
>If
>this
>test
>fails
>maybe
>we
>have
>finally
>fixed
>the
>shell