summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/00_syntax/01_unterminated_comment2
-rw-r--r--tests/00_syntax/05_block_nesting2
-rw-r--r--tests/02_runtime/04_switch_case6
3 files changed, 5 insertions, 5 deletions
diff --git a/tests/00_syntax/01_unterminated_comment b/tests/00_syntax/01_unterminated_comment
index 0a28af1..1d3669c 100644
--- a/tests/00_syntax/01_unterminated_comment
+++ b/tests/00_syntax/01_unterminated_comment
@@ -2,7 +2,7 @@ Unterminated comment
-- Expect stderr --
Syntax error: Unterminated template block
-In line 1, byte 8:
+In line 1, byte 9:
`This is {# an unclosed comment`
^-- Near here
diff --git a/tests/00_syntax/05_block_nesting b/tests/00_syntax/05_block_nesting
index 728c00c..7b74adb 100644
--- a/tests/00_syntax/05_block_nesting
+++ b/tests/00_syntax/05_block_nesting
@@ -2,7 +2,7 @@ Nesting blocks into non-comment blocks should fail.
-- Expect stderr --
Syntax error: Template blocks may not be nested
-In line 2, byte 60:
+In line 2, byte 61:
`We may not nest statement blocks into expression blocks: {{ {% print(1 + 2) %} }}.`
Near here --------------------------------------------------^
diff --git a/tests/02_runtime/04_switch_case b/tests/02_runtime/04_switch_case
index d83667f..2102ee5 100644
--- a/tests/02_runtime/04_switch_case
+++ b/tests/02_runtime/04_switch_case
@@ -89,7 +89,7 @@ default
-- Expect stderr --
Syntax error: more than one switch default case
-In line 6, byte 2:
+In line 6, byte 3:
` default:`
^-- Near here
@@ -242,8 +242,8 @@ one
-- Expect stderr --
Died
-In test(), line 6, byte 6:
- at main function ([stdin]:17:11)
+In test(), line 6, byte 7:
+ at main function ([stdin]:17:12)
` die();`
Near here -----^