From d35ddc101742b376a1e3db1ec19ae6a0487a2766 Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Tue, 24 Jan 2017 19:13:48 +0300 Subject: [PATCH] JS: unmute tests that now pass --- .../boxInline/callableReference/intrinsic.kt | 1 - .../callableReference/propertyIntrinsic.kt | 1 - .../CallableReferenceInlineTestsGenerated.java | 16 ++-------------- 3 files changed, 2 insertions(+), 16 deletions(-) diff --git a/compiler/testData/codegen/boxInline/callableReference/intrinsic.kt b/compiler/testData/codegen/boxInline/callableReference/intrinsic.kt index 97d006f4ae8..e1ef3a40ca3 100644 --- a/compiler/testData/codegen/boxInline/callableReference/intrinsic.kt +++ b/compiler/testData/codegen/boxInline/callableReference/intrinsic.kt @@ -1,5 +1,4 @@ // Enable when callable references to builtin members and using lambdas as extension lambdas (KT-13312) is supported -// IGNORE_BACKEND: JS // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/callableReference/propertyIntrinsic.kt b/compiler/testData/codegen/boxInline/callableReference/propertyIntrinsic.kt index 47e150ff126..83710b2f5f4 100644 --- a/compiler/testData/codegen/boxInline/callableReference/propertyIntrinsic.kt +++ b/compiler/testData/codegen/boxInline/callableReference/propertyIntrinsic.kt @@ -1,5 +1,4 @@ // Enable when callable references to builtin members and using lambdas as extension lambdas (KT-13312) is supported -// IGNORE_BACKEND: JS // FILE: 1.kt package test diff --git a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/CallableReferenceInlineTestsGenerated.java b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/CallableReferenceInlineTestsGenerated.java index 2fbfc325226..93d2a14d0a2 100644 --- a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/CallableReferenceInlineTestsGenerated.java +++ b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/CallableReferenceInlineTestsGenerated.java @@ -57,13 +57,7 @@ public class CallableReferenceInlineTestsGenerated extends AbstractCallableRefer @TestMetadata("intrinsic.kt") public void testIntrinsic() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/callableReference/intrinsic.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("kt15449.kt") @@ -75,13 +69,7 @@ public class CallableReferenceInlineTestsGenerated extends AbstractCallableRefer @TestMetadata("propertyIntrinsic.kt") public void testPropertyIntrinsic() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/callableReference/propertyIntrinsic.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("propertyReference.kt")