Skip to content

Commit 35fcb9a

Browse files
author
Christoph
committed
fix tests
1 parent bce1121 commit 35fcb9a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

snapshots/input/pure-js/src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,5 @@ function var_function_scope() {
4949
}
5050

5151
function array_of_objects() {
52-
;[{ element: 0 }, { element: 1 }]
52+
var a = [{ element: 0 }, { element: 1 }]
5353
}

snapshots/output/pure-js/src/main.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,9 @@ function var_function_scope() {
9999

100100
function array_of_objects() {
101101
// ^^^^^^^^^^^^^^^^ definition pure-js 1.0.0 src/`main.js`/array_of_objects().
102-
[{ element: 0 }, { element: 1}]
103-
// ^^^^^^^ definition pure-js 1.0.0 src/`main.js`/element0:
104-
// ^^^^^^^ definition pure-js 1.0.0 src/`main.js`/element1:
102+
var a = [{ element: 0 }, { element: 1 }]
103+
// ^ definition local 20
104+
// ^^^^^^^ definition pure-js 1.0.0 src/`main.js`/element0:
105+
// ^^^^^^^ definition pure-js 1.0.0 src/`main.js`/element1:
105106
}
106107

0 commit comments

Comments
 (0)