aboutsummaryrefslogtreecommitdiff
path: root/tests/test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test')
-rw-r--r--tests/test/script/runner/set.test9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/test/script/runner/set.test b/tests/test/script/runner/set.test
index aebe9cb..b90bb14 100644
--- a/tests/test/script/runner/set.test
+++ b/tests/test/script/runner/set.test
@@ -254,7 +254,8 @@
$c <<EOI && $b 2>>EOE != 0
set -w x baz
EOI
- testscript:1:1: (x):1:1: error: expected '[' instead of 'x'
+ <attributes>:1:1: error: expected '[' instead of 'x'
+ testscript:1:1: info: while parsing attributes 'x'
EOE
: unknown
@@ -262,7 +263,8 @@
$c <<EOI && $b 2>>EOE != 0
set -w [x] baz
EOI
- testscript:1:1: ([x]):1:1: error: unknown value attribute x
+ <attributes>:1:1: error: unknown value attribute x
+ testscript:1:1: info: while parsing attributes '[x]'
EOE
: junk
@@ -270,6 +272,7 @@
$c <<EOI && $b 2>>EOE != 0
set -w '[string] x' baz
EOI
- testscript:1:1: ([string] x):1:10: error: trailing junk after ']'
+ <attributes>:1:10: error: trailing junk after ']'
+ testscript:1:1: info: while parsing attributes '[string] x'
EOE
}