Ignore testSuspendInTheMiddleOfObjectConstructionEvaluationOrder in JS

This commit is contained in:
Dmitry Petrov
2017-10-04 13:57:01 +03:00
parent 7e808bd3ea
commit a88de2b0da
2 changed files with 8 additions and 1 deletions
@@ -1,5 +1,6 @@
// WITH_RUNTIME
// WITH_COROUTINES
// IGNORE_BACKEND: JS
import helpers.*
import kotlin.coroutines.experimental.*
import kotlin.coroutines.experimental.intrinsics.*
@@ -6149,7 +6149,13 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
@TestMetadata("suspendInTheMiddleOfObjectConstructionEvaluationOrder.kt")
public void testSuspendInTheMiddleOfObjectConstructionEvaluationOrder() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/coroutines/suspendInTheMiddleOfObjectConstructionEvaluationOrder.kt");
doTest(fileName);
try {
doTest(fileName);
}
catch (Throwable ignore) {
return;
}
throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that.");
}
@TestMetadata("suspendInTheMiddleOfObjectConstructionWithJumpOut.kt")