summaryrefslogtreecommitdiffhomepage
path: root/tests/custom/00_syntax
diff options
context:
space:
mode:
Diffstat (limited to 'tests/custom/00_syntax')
-rw-r--r--tests/custom/00_syntax/16_for_loop8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/custom/00_syntax/16_for_loop b/tests/custom/00_syntax/16_for_loop
index 67edc21..b206b07 100644
--- a/tests/custom/00_syntax/16_for_loop
+++ b/tests/custom/00_syntax/16_for_loop
@@ -220,10 +220,10 @@ rejected.
-- Expect stderr --
Syntax error: Unexpected token
Expecting ';'
-In line 2, byte 24:
+In line 2, byte 19:
` for (let x, y, z in {})`
- Near here ----------------^
+ Near here -----------^
-- End --
@@ -241,10 +241,10 @@ Ensure that assignments in for-in loop expressions are rejected.
-- Expect stderr --
Syntax error: Unexpected token
Expecting ';'
-In line 2, byte 25:
+In line 2, byte 20:
` for (let x = 1, y in {})`
- Near here -----------------^
+ Near here ------------^
-- End --