Skip to content

Commit 94c61de

Browse files
committed
Update JS error recovery test to reflect grammar change
1 parent 96f259d commit 94c61de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/fixtures/error_corpus/javascript_errors.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@ const h = `i ${j(k} l`
148148
(lexical_declaration
149149
(variable_declarator
150150
(identifier)
151-
(template_string (template_substitution (identifier) (ERROR)))))
151+
(template_string (template_substitution
152+
(augmented_assignment_expression (identifier) (MISSING identifier))))))
152153
(lexical_declaration
153154
(variable_declarator
154155
(identifier)

0 commit comments

Comments
 (0)