From 1db4765801d4625ab03d44e4899a7852c947a094 Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Thu, 24 Nov 2016 13:22:32 +0300 Subject: [PATCH] JS: unmute shared box test that now passes --- .../closureInsideClosure/propertyAndFunctionNameClash.kt | 4 ---- .../js/test/semantics/JsCodegenBoxTestGenerated.java | 8 +------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/compiler/testData/codegen/box/closures/closureInsideClosure/propertyAndFunctionNameClash.kt b/compiler/testData/codegen/box/closures/closureInsideClosure/propertyAndFunctionNameClash.kt index fdd8763322e..94562f8c7f1 100644 --- a/compiler/testData/codegen/box/closures/closureInsideClosure/propertyAndFunctionNameClash.kt +++ b/compiler/testData/codegen/box/closures/closureInsideClosure/propertyAndFunctionNameClash.kt @@ -1,7 +1,3 @@ -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS -// on JS item local variable clashes with ListTag.item() extension function - package d fun box(): String { 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 3b954dd9eba..11b1a589a95 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 @@ -4382,13 +4382,7 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { @TestMetadata("propertyAndFunctionNameClash.kt") public void testPropertyAndFunctionNameClash() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/closures/closureInsideClosure/propertyAndFunctionNameClash.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("threeLevels.kt")