summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/scripts/0000-Basic/00021
-rw-r--r--test/stdout/00024
2 files changed, 3 insertions, 2 deletions
diff --git a/test/scripts/0000-Basic/0002 b/test/scripts/0000-Basic/0002
index bc61998ca..583adcff0 100644
--- a/test/scripts/0000-Basic/0002
+++ b/test/scripts/0000-Basic/0002
@@ -617,6 +617,7 @@ ${extract{ 2 }{ }{a b c}}
${map{a,1:b,2:c,3}{${extract{1}{,}{$item}{$value}{}}}}
${map{a,1:b,2:c,3}{${extract{1}{,}{$item}{$value}{failcase}{bogus_argument}}}}
+${map{a,1:b,2:c,3}{${extract{1}{,}{$item}{$value}fail}}}
# Translation
diff --git a/test/stdout/0002 b/test/stdout/0002
index 13ef57a45..9a2768bdc 100644
--- a/test/stdout/0002
+++ b/test/stdout/0002
@@ -579,8 +579,8 @@
> b
>
> a:b:c
-> Failed: curly-bracket problem in conditional yes/no parsing: did not close with '}'
- remaining string is '{bogus_argument}}}}' inside "map" item
+> Failed: missing '}' closing extract inside "map" item
+> a:b:c
>
> # Translation
>