tree-sitter/cli/src/tests
Riley Bruins fa6c1471ef
fix(lib): correct escape detection for invalid anonymous nodes
The current quotation escape checker fails in the case that
there is an anonymous node that is just an escaped backslash (it thinks
the backslash escapes the quote, when really it is just an escaped
backslash itself. See the added test case for an example of this).

This commit ensures the node identification logic keeps track of the
number of backslashes seen so it can accurately determine if the
quotation is escaped or not.
2024-11-15 23:49:06 -05:00
..
helpers chore: misc clippy lints 2024-10-06 17:55:00 -04:00
proc_macro build: configure clippy lints at the workspace level 2024-10-08 21:07:41 -04:00
async_context_test.rs fix: disallow tokens that match the empty string 2024-11-02 03:36:11 -04:00
corpus_test.rs fix(xtask): bring back language and example filter 2024-11-12 19:09:49 -05:00
detect_language.rs feat(loader): support multi-barreled file extensions 2024-11-10 03:44:33 +01:00
highlight_test.rs refactor(rust): misc fixes & tidying 2024-04-11 22:35:43 -04:00
language_test.rs feat(rust): add Language::node_kind_is_supertype 2024-10-14 17:53:22 -04:00
mod.rs feat: add fuzz subcommand 2024-05-30 23:00:45 -04:00
node_test.rs fix(lib): correct next sibling of zero width node 2024-11-12 18:17:45 -05:00
parser_hang_test.rs feat: move generate logic to its own crate 2024-09-27 17:04:21 -04:00
parser_test.rs fix: disallow tokens that match the empty string 2024-11-02 03:36:11 -04:00
pathological_test.rs style: format imports 2024-04-11 22:35:43 -04:00
query_test.rs fix(lib): correct escape detection for invalid anonymous nodes 2024-11-15 23:49:06 -05:00
tags_test.rs style: format imports 2024-04-11 22:35:43 -04:00
test_highlight_test.rs fix: properly handle utf8 code points for highlight and tag assertions 2024-09-22 01:03:59 -04:00
test_tags_test.rs fix: properly handle utf8 code points for highlight and tag assertions 2024-09-22 01:03:59 -04:00
text_provider_test.rs feat(rust): remove usage of deprecated functions 2024-10-31 21:58:35 -04:00
tree_test.rs chore: misc clippy lints 2024-10-06 17:55:00 -04:00
wasm_language_test.rs feat!: implement StreamingIterator instead of Iterator for QueryMatches and QueryCaptures 2024-09-29 17:34:48 -04:00