From fd1aa97d0ce67c834a1a4854f541e054536bd90a Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Wed, 11 Oct 2017 12:24:31 +0300 Subject: [PATCH] Enable test that now passes in JS --- ...spendInTheMiddleOfObjectConstructionEvaluationOrder.kt | 1 - .../js/test/semantics/JsCodegenBoxTestGenerated.java | 8 +------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/compiler/testData/codegen/box/coroutines/suspendInTheMiddleOfObjectConstructionEvaluationOrder.kt b/compiler/testData/codegen/box/coroutines/suspendInTheMiddleOfObjectConstructionEvaluationOrder.kt index 151c0e37509..8e0f4ef2605 100644 --- a/compiler/testData/codegen/box/coroutines/suspendInTheMiddleOfObjectConstructionEvaluationOrder.kt +++ b/compiler/testData/codegen/box/coroutines/suspendInTheMiddleOfObjectConstructionEvaluationOrder.kt @@ -1,6 +1,5 @@ // WITH_RUNTIME // WITH_COROUTINES -// IGNORE_BACKEND: JS import helpers.* import kotlin.coroutines.experimental.* import kotlin.coroutines.experimental.intrinsics.* diff --git a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java index fb01342ef9a..9ac66809cee 100644 --- a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java +++ b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java @@ -6149,13 +6149,7 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { @TestMetadata("suspendInTheMiddleOfObjectConstructionEvaluationOrder.kt") public void testSuspendInTheMiddleOfObjectConstructionEvaluationOrder() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/coroutines/suspendInTheMiddleOfObjectConstructionEvaluationOrder.kt"); - try { - doTest(fileName); - } - catch (Throwable ignore) { - return; - } - throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); + doTest(fileName); } @TestMetadata("suspendInTheMiddleOfObjectConstructionWithJumpOut.kt")