Merge remote-tracking branch 'origin/master' into query-testy
This commit is contained in:
commit
c1a8985712
5 changed files with 11 additions and 7 deletions
|
|
@ -739,7 +739,7 @@ fn test_node_numeric_symbols_respect_simple_aliases() {
|
|||
let root = tree.root_node();
|
||||
assert_eq!(
|
||||
root.to_sexp(),
|
||||
"(program (binary left: (unary (identifier)) right: (identifier)))",
|
||||
"(program (binary left: (unary operand: (identifier)) right: (identifier)))",
|
||||
);
|
||||
|
||||
let binary_node = root.child(0).unwrap();
|
||||
|
|
|
|||
|
|
@ -1507,7 +1507,7 @@ fn test_query_matches_with_supertypes() {
|
|||
value: (expression) @kw_arg)
|
||||
|
||||
(assignment
|
||||
left: (left_hand_side (identifier) @var_def))
|
||||
left: (identifier) @var_def)
|
||||
|
||||
(primary_expression/identifier) @var_ref
|
||||
"#,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue