diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2011-12-08 19:42:07 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2011-12-08 19:42:07 +0000 |
commit | e3182c18de8f84c2d7eb003f9c731ada5e9a591f (patch) | |
tree | 3ed57c8e61518c8ad98e93e4961b7b881237e0c6 /Test | |
parent | 22aede45f67161c6332e52c42e04df45a3e62164 (diff) | |
download | zsh-e3182c18de8f84c2d7eb003f9c731ada5e9a591f.tar.gz zsh-e3182c18de8f84c2d7eb003f9c731ada5e9a591f.tar.xz zsh-e3182c18de8f84c2d7eb003f9c731ada5e9a591f.zip |
29955++: IGNORE_CLOSE_BRACES option
Diffstat (limited to 'Test')
-rw-r--r-- | Test/E01options.ztst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Test/E01options.ztst b/Test/E01options.ztst index 1bbfdbda1..bcb34c352 100644 --- a/Test/E01options.ztst +++ b/Test/E01options.ztst @@ -256,6 +256,8 @@ ?next one should fail ?(eval):1: parse error near `end' +# ` emacs deconfusion + setopt cshjunkiequotes print this should cause an error >&2 eval "print 'line one @@ -271,6 +273,8 @@ ?(eval):1: unmatched ' ?this should not +# ' emacs deconfusion + nullcmd() { print '$NULLCMD run'; } readnullcmd() { print 'Running $READNULLCMD'; cat; } NULLCMD=nullcmd @@ -901,6 +905,8 @@ ?(eval):exec:6: ls: restricted ?(eval):unsetopt:7: can't change option: restricted +# ' emacs deconfusion + fn() { print =ls ={ls,} local foo='=ls' @@ -1081,3 +1087,12 @@ ?+(eval):4> fn ?+fn:0> print message ?+(eval):5> unsetopt xtrace + + setopt ignoreclosebraces + eval "icb_test() { echo this is OK; }" + icb_test + icb_args() { print $#; } + eval "icb_args { this, is, ok, too }" +0:IGNORE_CLOSE_BRACES option +>this is OK +>6 |