fix(wasm): update test

This commit is contained in:
Amaan Qureshi 2024-06-03 12:42:22 +02:00
parent a73191bf0e
commit 6304009209
No known key found for this signature in database
GPG key ID: E67890ADC4227273

View file

@ -64,7 +64,7 @@ describe('Lookahead iterator', () => {
lookahead.delete();
});
const expected = ['identifier', 'comment', 'html_comment', '(', '*', 'formal_parameters', 'ERROR'];
const expected = ['(', 'identifier', '*', 'formal_parameters', 'html_comment', 'comment'];
it('should iterate over valid symbols in the state', () => {
const symbols = Array.from(lookahead);
assert.includeMembers(symbols, expected);