Minor, rename test and avoid commented directive
Get rid of "_lv12" in the test name, since it's actually a test on the modern compiler. Also, avoid the commented "IGNORE_BACKEND: JVM_IR" directive in another test to make JVM IR test failures more greppable.
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
// WITH_RUNTIME
|
// WITH_RUNTIME
|
||||||
// FILE: equalsNull_withExplicitFlag.kt
|
// FILE: equalsNull_withExplicitFlag.kt
|
||||||
|
|
||||||
// Should be: IGNORE_BACKEND: JVM_IR
|
// Should be ignored on JVM IR.
|
||||||
// ^ TODO: fix intrinsic for 'equals' for boxed primitives
|
// ^ TODO: fix intrinsic for 'equals' for boxed primitives
|
||||||
// JVM_IR supports behavior since Kotlin 1.3,
|
// JVM_IR supports behavior since Kotlin 1.3,
|
||||||
// and '-Xno-exception-on-explicit-equals-for-boxed-null' is a fallback flag introduced in 1.2.
|
// and '-Xno-exception-on-explicit-equals-for-boxed-null' is a fallback flag introduced in 1.2.
|
||||||
|
|||||||
+3
-3
@@ -18238,9 +18238,9 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
|||||||
runTest("compiler/testData/codegen/box/platformTypes/primitives/equals.kt");
|
runTest("compiler/testData/codegen/box/platformTypes/primitives/equals.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("equalsNull_lv12.kt")
|
@TestMetadata("equalsNull.kt")
|
||||||
public void testEqualsNull_lv12() throws Exception {
|
public void testEqualsNull() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/platformTypes/primitives/equalsNull_lv12.kt");
|
runTest("compiler/testData/codegen/box/platformTypes/primitives/equalsNull.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("equalsNull_withExplicitFlag.kt")
|
@TestMetadata("equalsNull_withExplicitFlag.kt")
|
||||||
|
|||||||
+3
-3
@@ -18238,9 +18238,9 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
|||||||
runTest("compiler/testData/codegen/box/platformTypes/primitives/equals.kt");
|
runTest("compiler/testData/codegen/box/platformTypes/primitives/equals.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("equalsNull_lv12.kt")
|
@TestMetadata("equalsNull.kt")
|
||||||
public void testEqualsNull_lv12() throws Exception {
|
public void testEqualsNull() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/platformTypes/primitives/equalsNull_lv12.kt");
|
runTest("compiler/testData/codegen/box/platformTypes/primitives/equalsNull.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("equalsNull_withExplicitFlag.kt")
|
@TestMetadata("equalsNull_withExplicitFlag.kt")
|
||||||
|
|||||||
+3
-3
@@ -16722,9 +16722,9 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
|||||||
runTest("compiler/testData/codegen/box/platformTypes/primitives/equals.kt");
|
runTest("compiler/testData/codegen/box/platformTypes/primitives/equals.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("equalsNull_lv12.kt")
|
@TestMetadata("equalsNull.kt")
|
||||||
public void testEqualsNull_lv12() throws Exception {
|
public void testEqualsNull() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/platformTypes/primitives/equalsNull_lv12.kt");
|
runTest("compiler/testData/codegen/box/platformTypes/primitives/equalsNull.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("equalsNull_withExplicitFlag.kt")
|
@TestMetadata("equalsNull_withExplicitFlag.kt")
|
||||||
|
|||||||
+3
-3
@@ -16722,9 +16722,9 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
|||||||
runTest("compiler/testData/codegen/box/platformTypes/primitives/equals.kt");
|
runTest("compiler/testData/codegen/box/platformTypes/primitives/equals.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("equalsNull_lv12.kt")
|
@TestMetadata("equalsNull.kt")
|
||||||
public void testEqualsNull_lv12() throws Exception {
|
public void testEqualsNull() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/platformTypes/primitives/equalsNull_lv12.kt");
|
runTest("compiler/testData/codegen/box/platformTypes/primitives/equalsNull.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("equalsNull_withExplicitFlag.kt")
|
@TestMetadata("equalsNull_withExplicitFlag.kt")
|
||||||
|
|||||||
Reference in New Issue
Block a user