simplify IntegrationTest.testTranspilingEs2016ToEs2015()
@@ -4894,12 +4894,11 @@ public final class IntegrationTest extends IntegrationTestCase {
public void testTranspilingEs2016ToEs2015() {
CompilerOptions options = createCompilerOptions();
- CompilationLevel.ADVANCED_OPTIMIZATIONS.setOptionsForCompilationLevel(options);
options.setLanguageIn(LanguageMode.ECMASCRIPT_2017);
options.setLanguageOut(LanguageMode.ECMASCRIPT_2015);
test(options, "alert(2 ** 5);", "alert(Math.pow(2, 5));");
- test(options, "const n = 2 ** 5;", "const a = Math.pow(2, 5);");
+ test(options, "const n = 2 ** 5;", "const n = Math.pow(2, 5);");
}
public void testMethodDestructuringInTranspiledAsyncFunction() {
