chore: remove deprecated query parsing mechanism
This commit is contained in:
parent
5ea0dbf77a
commit
da0596ba38
2 changed files with 2 additions and 9 deletions
|
|
@ -46,7 +46,7 @@ describe('Query', () => {
|
|||
JavaScript.query('((identifier) @abc (#eq?))');
|
||||
}, 'Wrong number of arguments to `#eq?` predicate. Expected 2, got 0');
|
||||
assert.throws(() => {
|
||||
JavaScript.query('((identifier) @a (eq? @a @a @a))');
|
||||
JavaScript.query('((identifier) @a (#eq? @a @a @a))');
|
||||
}, 'Wrong number of arguments to `#eq?` predicate. Expected 2, got 3');
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue