Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: handle more cases of editing subtrees that depend on column values #3257

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
style: lint
  • Loading branch information
rooney committed Apr 8, 2024
commit e3fa053c861b17521ac3b69c14f7cec95fc9985b
3 changes: 1 addition & 2 deletions cli/src/tests/parser_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,7 @@ fn test_parsing_after_editing_tree_that_depends_on_column_position() {
.join("depends_on_column");

let grammar_json = load_grammar_file(&dir.join("grammar.js"), None).unwrap();
let (grammar_name, parser_code) =
generate_parser_for_grammar(grammar_json.as_str()).unwrap();
let (grammar_name, parser_code) = generate_parser_for_grammar(grammar_json.as_str()).unwrap();

let mut parser = Parser::new();
parser
Expand Down