diff --git a/compiler/testData/codegen/box/boxingOptimization/kClassEquals.kt b/compiler/testData/codegen/box/boxingOptimization/kClassEquals.kt index 1e2ac20cd79..635e9949a6f 100644 --- a/compiler/testData/codegen/box/boxingOptimization/kClassEquals.kt +++ b/compiler/testData/codegen/box/boxingOptimization/kClassEquals.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM fun test(a: Any) = when (a::class) { String::class -> "String" diff --git a/compiler/testData/codegen/box/boxingOptimization/kt17748.kt b/compiler/testData/codegen/box/boxingOptimization/kt17748.kt index 27e309527e5..1639def43c6 100644 --- a/compiler/testData/codegen/box/boxingOptimization/kt17748.kt +++ b/compiler/testData/codegen/box/boxingOptimization/kt17748.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM fun box(): String { 42.doSwitchInt() 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 61188dac4bb..09235632fde 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 @@ -1148,36 +1148,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { doTest(fileName); } - @TestMetadata("kClassEquals.kt") - public void testKClassEquals() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/boxingOptimization/kClassEquals.kt"); - try { - doTest(fileName); - } - catch (Throwable ignore) { - return; - } - throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); - } - @TestMetadata("kt15871.kt") public void testKt15871() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/boxingOptimization/kt15871.kt"); doTest(fileName); } - @TestMetadata("kt17748.kt") - public void testKt17748() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/boxingOptimization/kt17748.kt"); - try { - doTest(fileName); - } - catch (Throwable ignore) { - return; - } - throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); - } - @TestMetadata("kt19767.kt") public void testKt19767() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/boxingOptimization/kt19767.kt");