diff options
author | Mikael Magnusson <mikachu@gmail.com> | 2019-12-26 03:54:17 +0100 |
---|---|---|
committer | Mikael Magnusson <mikachu@gmail.com> | 2020-04-02 07:42:16 +0200 |
commit | 8923d2a61824b0856839d52f3bf52aedb86fd827 (patch) | |
tree | 7c600a7c3531df51c1e010b5cb2a5c8cfec6fc5c /Test/E01options.ztst | |
parent | c57d660764c368d6c1e0104f2b781c85e5a33f0b (diff) | |
download | zsh-8923d2a61824b0856839d52f3bf52aedb86fd827.tar.gz zsh-8923d2a61824b0856839d52f3bf52aedb86fd827.tar.xz zsh-8923d2a61824b0856839d52f3bf52aedb86fd827.zip |
Add SHORT_REPEAT option
Diffstat (limited to 'Test/E01options.ztst')
-rw-r--r-- | Test/E01options.ztst | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/Test/E01options.ztst b/Test/E01options.ztst index cfe2c75cc..70736f444 100644 --- a/Test/E01options.ztst +++ b/Test/E01options.ztst @@ -1109,15 +1109,22 @@ F:Regression test for workers/41811 eval 'for f (word1 word2) print $f' eval 'repeat 3 print nonsense' } - unsetopt shortloops - print option unset + unsetopt shortloops shortrepeat + print shortloops and shortrepeat unset + fn + setopt shortrepeat + print shortrepeat set fn setopt shortloops - print option set + print shortloops set fn 0:SHORT_LOOPS option ->option unset ->option set +>shortloops and shortrepeat unset +>shortrepeat set +>nonsense +>nonsense +>nonsense +>shortloops set >foo >bar >word1 @@ -1128,6 +1135,8 @@ F:Regression test for workers/41811 ?(eval):1: parse error near `print' ?(eval):1: parse error near `print' ?(eval):1: parse error near `print' +?(eval):1: parse error near `print' +?(eval):1: parse error near `print' fn() { print -l $*; } setopt shwordsplit |