◐ Shell
clean mode source ↗

test: update snapshots for amaro v0.3.2 · nodejs/node@a473d3f

Original file line numberDiff line numberDiff line change

@@ -20,6 +20,11 @@ Node.js *

2020

[eval]:1

2121

const foo;

2222

^^^

23+

x 'const' declarations must be initialized

24+

,----

25+

1 | const foo;

26+

: ^^^

27+

`----

2328
2429

SyntaxError: Missing initializer in const declaration

2530

@@ -28,10 +33,15 @@ Node.js *

2833

undefined

2934

false

3035

[eval]:1

31-

;const foo;

32-

^^^

36+

interface Foo{};const foo;

37+

^^^

38+

x 'const' declarations must be initialized

39+

,----

40+

1 | interface Foo{};const foo;

41+

: ^^^

42+

`----

3343
34-

SyntaxError: Missing initializer in const declaration

44+

SyntaxError: Unexpected identifier 'Foo'

3545
3646

Node.js *

3747

[eval]:1