Update tests to reflect javascript grammar changes
This commit is contained in:
parent
b44fe992ae
commit
c90a532d8f
6 changed files with 48 additions and 40 deletions
|
|
@ -226,7 +226,7 @@ describe("Parser", () => {
|
|||
|
||||
assert.equal(
|
||||
tree.rootNode.toString(),
|
||||
'(program (expression_statement (call_expression (identifier) (arguments))) (expression_statement (identifier)))'
|
||||
'(program (expression_statement (call_expression function: (identifier) arguments: (arguments))) (expression_statement (identifier)))'
|
||||
);
|
||||
})
|
||||
});});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue