Update wasm test to reflect C++ grammar changes
This commit is contained in:
parent
a9ca6ff73c
commit
f2b13721d9
1 changed files with 6 additions and 1 deletions
|
|
@ -145,7 +145,12 @@ describe("Parser", () => {
|
|||
tree = parser.parse("const char *s = R\"EOF(HELLO WORLD)EOF\";");
|
||||
assert.equal(
|
||||
tree.rootNode.toString(),
|
||||
'(translation_unit (declaration (type_qualifier) (primitive_type) (init_declarator (pointer_declarator (identifier)) (raw_string_literal))))'
|
||||
'(translation_unit (declaration ' +
|
||||
'(type_qualifier) ' +
|
||||
'type: (primitive_type) ' +
|
||||
'declarator: (init_declarator ' +
|
||||
'declarator: (pointer_declarator declarator: (identifier)) ' +
|
||||
'value: (raw_string_literal))))'
|
||||
);
|
||||
}).timeout(5000);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue