diff options
author | Peter Stephenson <pws@zsh.org> | 2015-02-16 12:37:38 +0000 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2015-02-16 12:37:38 +0000 |
commit | 8ebe18c081a0bd2f134f5fcbf1650d5d59920c96 (patch) | |
tree | ad956694f15df0fcfe91c1c0d197664b7ae45ff0 /Test | |
parent | 2335d6254815050d3a0ae9b5a8677ec2f567b631 (diff) | |
download | zsh-8ebe18c081a0bd2f134f5fcbf1650d5d59920c96.tar.gz zsh-8ebe18c081a0bd2f134f5fcbf1650d5d59920c96.tar.xz zsh-8ebe18c081a0bd2f134f5fcbf1650d5d59920c96.zip |
34530: PRINT_EXIT_VALUE with anonymous functions.
Simpler fix, avoiding structural changes.
Diffstat (limited to 'Test')
-rw-r--r-- | Test/E01options.ztst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Test/E01options.ztst b/Test/E01options.ztst index c6af80392..32135344f 100644 --- a/Test/E01options.ztst +++ b/Test/E01options.ztst @@ -795,12 +795,12 @@ 1:PRINT_EXIT_VALUE option ?zsh: exit 1 -# $ZTST_testdir/../Src/zsh -f <<<' -# setopt printexitvalue -# () { false; } -# ' -#1:PRINT_EXIT_VALUE option for anonymous function -#?zsh: exit 1 + $ZTST_testdir/../Src/zsh -f <<<' + setopt printexitvalue + () { false; } + ' +1:PRINT_EXIT_VALUE option for anonymous function +?zsh: exit 1 setopt promptbang print -P ! |