summaryrefslogtreecommitdiff
path: root/tests/errors.right
diff options
context:
space:
mode:
Diffstat (limited to 'tests/errors.right')
-rw-r--r--tests/errors.right5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/errors.right b/tests/errors.right
index 44dfde65..be0c8959 100644
--- a/tests/errors.right
+++ b/tests/errors.right
@@ -194,4 +194,7 @@ ok 4
ok 5
./errors8.sub: line 14: set: notanoption: invalid option name
ok 6
-./errors.tests: line 296: `!!': not a valid identifier
+bash: line 1: return: can only `return' from a function or sourced script
+after return
+bash: line 1: return: can only `return' from a function or sourced script
+./errors.tests: line 299: `!!': not a valid identifier