Merge pull request #2127 from tree-sitter/fix-ci-tests

CI: fix tests
This commit is contained in:
Andrew Hlynskyi 2023-03-15 12:44:06 +02:00 committed by GitHub
commit ff7cb8dd20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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