Fixed tests

This commit is contained in:
Pieter Vander Vennet 2022-03-17 20:50:06 +01:00
parent 6f29f4be0b
commit 2b120ba9ef

View file

@ -9,7 +9,7 @@ test('tests', t => {
foo // => 1 foo // => 1
`), `),
[[{tag: '==', lhs: `foo`, rhs: `1`}]] [{ script: [{tag: '==', lhs: `foo`, rhs: `1`}], name: undefined }]
) )
}) })
@ -23,7 +23,7 @@ test('tests', t => {
c // => 1 c // => 1
d d
*/`), */`).map(s => s.script),
[ [
[ [
{tag: 'Statement', stmt: 'a;'}, {tag: 'Statement', stmt: 'a;'},