Tests: use JsTestUtils#successOnEcma5 instead of EnumSet#of.
Uncomment test which succeded on ecma5.
This commit is contained in:
@@ -22,7 +22,6 @@ import org.jetbrains.k2js.config.EcmaVersion;
|
||||
import org.jetbrains.k2js.test.SingleFileTranslationTest;
|
||||
import org.jetbrains.k2js.test.utils.JsTestUtils;
|
||||
|
||||
import java.util.EnumSet;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
@@ -81,7 +80,7 @@ public final class PropertyAccessTest extends SingleFileTranslationTest {
|
||||
}
|
||||
|
||||
public void testInitInstanceProperties() throws Exception {
|
||||
fooBoxTest(EnumSet.of(EcmaVersion.v5));
|
||||
fooBoxTest(JsTestUtils.successOnEcmaV5());
|
||||
}
|
||||
|
||||
public void testEnumerable() throws Exception {
|
||||
@@ -89,8 +88,7 @@ public final class PropertyAccessTest extends SingleFileTranslationTest {
|
||||
}
|
||||
|
||||
public void testOverloadedOverriddenFunctionPropertyName() throws Exception {
|
||||
//fooBoxTest(JsTestUtils.successOnEcmaV5());
|
||||
//fooBoxTest();
|
||||
fooBoxTest(JsTestUtils.successOnEcmaV5());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user