Merge remote-tracking branch 'origin/master' into query-testy

This commit is contained in:
Patrick Thomson 2020-11-23 11:10:53 -05:00
commit c1a8985712
5 changed files with 11 additions and 7 deletions

View file

@ -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();

View file

@ -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
"#,