about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2015-02-16 12:37:38 +0000
committerPeter Stephenson <pws@zsh.org>2015-02-16 12:37:38 +0000
commit8ebe18c081a0bd2f134f5fcbf1650d5d59920c96 (patch)
treead956694f15df0fcfe91c1c0d197664b7ae45ff0 /Test
parent2335d6254815050d3a0ae9b5a8677ec2f567b631 (diff)
downloadzsh-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.ztst12
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 !