Skip to content
This repository was archived by the owner on Jun 14, 2024. It is now read-only.

Commit cb02d9a

Browse files
committed
move ES7 test failure to end
1 parent 0320794 commit cb02d9a

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

test/simple.js

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,6 @@ suite('closure', () => {
3333
assertCompileOk(out, 'var x=3;')
3434
});
3535

36-
test('ES7 out', () => {
37-
const flags = {
38-
jsCode: [{
39-
src: 'console.log(`foo`)',
40-
path: 'foo.js',
41-
}],
42-
languageIn: 'ECMASCRIPT_2017',
43-
languageOut: 'ECMASCRIPT_2017',
44-
compilationLevel: 'ADVANCED',
45-
warningLevel: 'VERBOSE',
46-
};
47-
const out = compile(flags);
48-
assertCompileOk(out, '\'use strict\';console.log("foo");')
49-
});
50-
5136
test('advanced', () => {
5237
const flags = {
5338
jsCode: [{
@@ -69,4 +54,19 @@ suite('closure', () => {
6954
assertCompileOk(simple, 'var x=1;console.info(1);', 'simple code was incorrect');
7055
});
7156

57+
test('ES7 out', () => {
58+
const flags = {
59+
jsCode: [{
60+
src: 'console.log(`foo`)',
61+
path: 'foo.js',
62+
}],
63+
languageIn: 'ECMASCRIPT_2017',
64+
languageOut: 'ECMASCRIPT_2017',
65+
compilationLevel: 'ADVANCED',
66+
warningLevel: 'VERBOSE',
67+
};
68+
const out = compile(flags);
69+
assertCompileOk(out, '\'use strict\';console.log("foo");')
70+
});
71+
7272
});

0 commit comments

Comments
 (0)