summaryrefslogtreecommitdiffstats
path: root/tests/test/script/builtin/test.testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test/script/builtin/test.testscript')
-rw-r--r--tests/test/script/builtin/test.testscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test/script/builtin/test.testscript b/tests/test/script/builtin/test.testscript
index c17b3b0b..650f9ef7 100644
--- a/tests/test/script/builtin/test.testscript
+++ b/tests/test/script/builtin/test.testscript
@@ -58,7 +58,9 @@ $c <'test -c a 2>"test: invalid option" == 2' && $b
:
: Test passing extra argument.
:
-$c <'test -f a b 2>"test: unexpected argument" == 2' && $b
+$c <<EOI && $b
+test -f a b 2>"test: unexpected argument 'b'" == 2
+EOI
: empty-path
: