From ca152a93dd7f7dbea2e6eb84072b53dc74816443 Mon Sep 17 00:00:00 2001 From: Andrew Hlynskyi Date: Tue, 14 Mar 2023 20:06:31 +0200 Subject: [PATCH] ci: fix tests --- cli/src/tests/parser_test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/tests/parser_test.rs b/cli/src/tests/parser_test.rs index cf3b6437..30b12336 100644 --- a/cli/src/tests/parser_test.rs +++ b/cli/src/tests/parser_test.rs @@ -505,7 +505,7 @@ fn test_parsing_after_detecting_error_in_the_middle_of_a_string_token() { let tree = parser.parse(&source, None).unwrap(); assert_eq!( tree.root_node().to_sexp(), - "(module (expression_statement (assignment left: (identifier) right: (expression_list (identifier) (string)))))" + "(module (expression_statement (assignment left: (identifier) right: (expression_list (identifier) (string string_content: (string_content))))))" ); // Delete a suffix of the source code, starting in the middle of the string