summaryrefslogtreecommitdiffhomepage
path: root/tests/custom
diff options
context:
space:
mode:
Diffstat (limited to 'tests/custom')
-rw-r--r--tests/custom/04_bugs/17_hang_on_unclosed_expression_block2
-rw-r--r--tests/custom/04_bugs/18_hang_on_line_comments_at_eof2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/custom/04_bugs/17_hang_on_unclosed_expression_block b/tests/custom/04_bugs/17_hang_on_unclosed_expression_block
index 25128bb..29553ab 100644
--- a/tests/custom/04_bugs/17_hang_on_unclosed_expression_block
+++ b/tests/custom/04_bugs/17_hang_on_unclosed_expression_block
@@ -3,7 +3,7 @@ infinite loop.
-- Expect stderr --
Syntax error: Unterminated template block
-In line 1, byte 6:
+In line 1, byte 5:
`{{ 1`
^-- Near here
diff --git a/tests/custom/04_bugs/18_hang_on_line_comments_at_eof b/tests/custom/04_bugs/18_hang_on_line_comments_at_eof
index 957ed47..5fc811e 100644
--- a/tests/custom/04_bugs/18_hang_on_line_comments_at_eof
+++ b/tests/custom/04_bugs/18_hang_on_line_comments_at_eof
@@ -2,7 +2,7 @@ When parsing a comment near EOF, or a comment escaping the end
of an expression block, the lexer did end up in an infinite loop.
-- Expect stderr --
-Syntax error: Expecting expression
+Syntax error: Unterminated template block
In line 1, byte 9:
`{{ // }}`