diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBlackBoxCodegenTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBlackBoxCodegenTestGenerated.java index 5e7dd842379..ccd3380ef71 100644 --- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBlackBoxCodegenTestGenerated.java +++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBlackBoxCodegenTestGenerated.java @@ -14326,12 +14326,6 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT runTest("compiler/testData/codegen/box/evaluate/minus.kt"); } - @Test - @TestMetadata("mod.kt") - public void testMod() throws Exception { - runTest("compiler/testData/codegen/box/evaluate/mod.kt"); - } - @Test @TestMetadata("multiply.kt") public void testMultiply() throws Exception { @@ -14350,6 +14344,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT runTest("compiler/testData/codegen/box/evaluate/plus.kt"); } + @Test + @TestMetadata("rem.kt") + public void testRem() throws Exception { + runTest("compiler/testData/codegen/box/evaluate/rem.kt"); + } + @Test @TestMetadata("simpleCallBinary.kt") public void testSimpleCallBinary() throws Exception { diff --git a/compiler/testData/codegen/box/evaluate/divide.kt b/compiler/testData/codegen/box/evaluate/divide.kt index 75d45fb5d31..e6dae44efea 100644 --- a/compiler/testData/codegen/box/evaluate/divide.kt +++ b/compiler/testData/codegen/box/evaluate/divide.kt @@ -17,8 +17,8 @@ fun box(): String { val annotation = MyClass::class.java.getAnnotation(Ann::class.java)!! if (annotation.b != 1.toByte()) return "fail 1" if (annotation.s != 1.toShort()) return "fail 2" - if (annotation.i != 1) return "fail 2" - if (annotation.l != 1.toLong()) return "fail 2" + if (annotation.i != 1) return "fail 3" + if (annotation.l != 1.toLong()) return "fail 4" return "OK" } diff --git a/compiler/testData/codegen/box/evaluate/mod.kt b/compiler/testData/codegen/box/evaluate/rem.kt similarity index 100% rename from compiler/testData/codegen/box/evaluate/mod.kt rename to compiler/testData/codegen/box/evaluate/rem.kt diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java index bd5d4247a3d..8376516f48b 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java @@ -14326,12 +14326,6 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { runTest("compiler/testData/codegen/box/evaluate/minus.kt"); } - @Test - @TestMetadata("mod.kt") - public void testMod() throws Exception { - runTest("compiler/testData/codegen/box/evaluate/mod.kt"); - } - @Test @TestMetadata("multiply.kt") public void testMultiply() throws Exception { @@ -14350,6 +14344,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { runTest("compiler/testData/codegen/box/evaluate/plus.kt"); } + @Test + @TestMetadata("rem.kt") + public void testRem() throws Exception { + runTest("compiler/testData/codegen/box/evaluate/rem.kt"); + } + @Test @TestMetadata("simpleCallBinary.kt") public void testSimpleCallBinary() throws Exception { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java index 5cf08663364..2ba751aaeb8 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java @@ -14326,12 +14326,6 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/evaluate/minus.kt"); } - @Test - @TestMetadata("mod.kt") - public void testMod() throws Exception { - runTest("compiler/testData/codegen/box/evaluate/mod.kt"); - } - @Test @TestMetadata("multiply.kt") public void testMultiply() throws Exception { @@ -14350,6 +14344,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/evaluate/plus.kt"); } + @Test + @TestMetadata("rem.kt") + public void testRem() throws Exception { + runTest("compiler/testData/codegen/box/evaluate/rem.kt"); + } + @Test @TestMetadata("simpleCallBinary.kt") public void testSimpleCallBinary() throws Exception { diff --git a/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java b/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java index 7dc10e9522b..70ed6be0cda 100644 --- a/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java +++ b/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java @@ -11779,11 +11779,6 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes runTest("compiler/testData/codegen/box/evaluate/minus.kt"); } - @TestMetadata("mod.kt") - public void testMod() throws Exception { - runTest("compiler/testData/codegen/box/evaluate/mod.kt"); - } - @TestMetadata("multiply.kt") public void testMultiply() throws Exception { runTest("compiler/testData/codegen/box/evaluate/multiply.kt"); @@ -11799,6 +11794,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes runTest("compiler/testData/codegen/box/evaluate/plus.kt"); } + @TestMetadata("rem.kt") + public void testRem() throws Exception { + runTest("compiler/testData/codegen/box/evaluate/rem.kt"); + } + @TestMetadata("simpleCallBinary.kt") public void testSimpleCallBinary() throws Exception { runTest("compiler/testData/codegen/box/evaluate/simpleCallBinary.kt");