@konomanoasa/tree-sitter-gitattributes 0.3.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,16 +15,3 @@ fn parses_valid_source() {
15
15
  assert!(grammar::NODE_TYPES.contains("\"document\""));
16
16
  Query::new(&language, grammar::HIGHLIGHTS_QUERY).unwrap();
17
17
  }
18
-
19
- #[test]
20
- fn linked_scanner_exposes_an_incomplete_escape_at_eof() {
21
- let language = grammar::LANGUAGE.into();
22
- let mut parser = Parser::new();
23
- parser.set_language(&language).unwrap();
24
- let tree = parser.parse("a\\", None).unwrap();
25
- assert!(!tree.root_node().has_error());
26
- assert_eq!(
27
- tree.root_node().to_sexp(),
28
- "(document (attribute_rule pattern: (pattern (glob_literal) issue: (syntax_issue (incomplete_syntax (incomplete_escape))))))"
29
- );
30
- }
package/tree-sitter.json CHANGED
@@ -12,7 +12,7 @@
12
12
  }
13
13
  ],
14
14
  "metadata": {
15
- "version": "0.3.0",
15
+ "version": "0.4.1",
16
16
  "license": "MIT",
17
17
  "description": "Tree-sitter grammar for gitattributes.",
18
18
  "links": {