restructure test directory
This commit is contained in:
1
test/fixtures/syntax/array-comprehension/single/actual.js
vendored
Normal file
1
test/fixtures/syntax/array-comprehension/single/actual.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var arr = [for (i of [1, 2, 3]) i * i];
|
||||
3
test/fixtures/syntax/array-comprehension/single/expected.js
vendored
Normal file
3
test/fixtures/syntax/array-comprehension/single/expected.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
var arr = [1, 2, 3].map(function (i) {
|
||||
return i * i;
|
||||
});
|
||||
Reference in New Issue
Block a user