From d9be59ea97c95b2d9b4d5f305dd9e892d07cfc54 Mon Sep 17 00:00:00 2001 From: Ilya Goncharov Date: Sat, 20 Feb 2021 16:59:08 +0300 Subject: [PATCH] [JS IR] JS code in init block only for js ir backend test --- .../kotlin/js/test/semantics/BoxJsTestGenerated.java | 5 ----- js/js.translator/testData/box/jsCode/init.kt | 3 ++- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/semantics/BoxJsTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/semantics/BoxJsTestGenerated.java index b0085c52349..74d0097f158 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/semantics/BoxJsTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/semantics/BoxJsTestGenerated.java @@ -5120,11 +5120,6 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest { runTest("js/js.translator/testData/box/jsCode/if.kt"); } - @TestMetadata("init.kt") - public void testInit() throws Exception { - runTest("js/js.translator/testData/box/jsCode/init.kt"); - } - @TestMetadata("invocation.kt") public void testInvocation() throws Exception { runTest("js/js.translator/testData/box/jsCode/invocation.kt"); diff --git a/js/js.translator/testData/box/jsCode/init.kt b/js/js.translator/testData/box/jsCode/init.kt index f53e8569146..3020457c10b 100644 --- a/js/js.translator/testData/box/jsCode/init.kt +++ b/js/js.translator/testData/box/jsCode/init.kt @@ -1,4 +1,5 @@ -// EXPECTED_REACHABLE_NODES: 1282 +// TARGET_BACKEND: JS_IR + package foo class A {