summaryrefslogtreecommitdiffstats
path: root/Test/C04funcdef.ztst
diff options
context:
space:
mode:
Diffstat (limited to 'Test/C04funcdef.ztst')
-rw-r--r--Test/C04funcdef.ztst5
1 files changed, 2 insertions, 3 deletions
diff --git a/Test/C04funcdef.ztst b/Test/C04funcdef.ztst
index 9f15e04ff..ab7b42928 100644
--- a/Test/C04funcdef.ztst
+++ b/Test/C04funcdef.ztst
@@ -120,14 +120,13 @@
print "Your command:" >&2
print "$1" >&2
print "has gone down the tubes. Sorry." >&2
- return 1
+ return 42
}
ThisCommandDoesNotExistEither
-127:Command not found handler, failure
+42:Command not found handler, failure
?Your command:
?ThisCommandDoesNotExistEither
?has gone down the tubes. Sorry.
-?(eval):7: command not found: ThisCommandDoesNotExistEither
local variable=outside
print "I am $variable"