Skip to content

Commit 08b1cbf

Browse files
committed
Fix test case with proper error code
1 parent ae7b8d7 commit 08b1cbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/tests/fallback.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
"src": "{42 :test:function fails=format}",
1313
"exp": "{|42|}",
1414
"expParts": [{ "type": "fallback", "source": "|42|" }],
15-
"expErrors": [{ "type": "bad-operand" }]
15+
"expErrors": [{ "type": "bad-option" }]
1616
},
1717
{
1818
"description": "function with quoted literal operand",
1919
"src": "{|C:\\\\| :test:function fails=format}",
2020
"exp": "{|C:\\\\|}",
21-
"expErrors": [{ "type": "bad-operand" }]
21+
"expErrors": [{ "type": "bad-option" }]
2222
},
2323
{
2424
"description": "unannotated implicit input variable",

0 commit comments

Comments
 (0)