diff --git a/compiler/testData/codegen/box/reflection/call/inlineClasses/nonNullObject/functionsWithInlineClassParameters.kt b/compiler/testData/codegen/box/reflection/call/inlineClasses/nonNullObject/functionsWithInlineClassParameters.kt index 76bb17937e9..1a9e8fa30a2 100644 --- a/compiler/testData/codegen/box/reflection/call/inlineClasses/nonNullObject/functionsWithInlineClassParameters.kt +++ b/compiler/testData/codegen/box/reflection/call/inlineClasses/nonNullObject/functionsWithInlineClassParameters.kt @@ -2,7 +2,6 @@ // WITH_REFLECT import kotlin.test.assertEquals -import kotlin.test.assertFailsWith inline class S(val value: String) { operator fun plus(other: S): S = S(this.value + other.value) @@ -31,16 +30,10 @@ fun box(): String { assertEquals("_", S?::extension4.call(S("_"))) assertEquals(S("mno"), C()::member.call(S("m"), "n", S("o"))) - assertFailsWith("Remove assertFailsWith and try again, as this problem may have been fixed.") { - assertEquals(S("pqr"), S("p")::extension1.call(S("q"), "r")) - } - assertFailsWith("Remove assertFailsWith and try again, as this problem may have been fixed.") { - assertEquals(S("stu"), S("s")::extension2.call(S("t"), "u")) - } + assertEquals(S("pqr"), S("p")::extension1.call(S("q"), S("r"))) + assertEquals(S("stu"), S("s")::extension2.call(S("t"), S("u"))) assertEquals("_", S("_")::extension3.call()) - assertFailsWith("Remove assertFailsWith and try again, as this problem may have been fixed.") { - assertEquals("_", S("_")::extension4.call(S("_"))) - } + assertEquals("_", S("_")::extension4.call()) return "OK" } diff --git a/compiler/testData/codegen/box/reflection/call/inlineClasses/nullableObject/functionsWithInlineClassParameters.kt b/compiler/testData/codegen/box/reflection/call/inlineClasses/nullableObject/functionsWithInlineClassParameters.kt index 885404f904e..e723e45ebd3 100644 --- a/compiler/testData/codegen/box/reflection/call/inlineClasses/nullableObject/functionsWithInlineClassParameters.kt +++ b/compiler/testData/codegen/box/reflection/call/inlineClasses/nullableObject/functionsWithInlineClassParameters.kt @@ -2,7 +2,6 @@ // WITH_REFLECT import kotlin.test.assertEquals -import kotlin.test.assertFailsWith inline class S(val value: String?) { operator fun plus(other: S): S = S(this.value + other.value) @@ -31,16 +30,10 @@ fun box(): String { assertEquals("_", S?::extension4.call(S("_"))) assertEquals(S("mno"), C()::member.call(S("m"), "n", S("o"))) - assertFailsWith("Remove assertFailsWith and try again, as this problem may have been fixed.") { - assertEquals(S("pqr"), S("p")::extension1.call(S("q"), "r")) - } - assertFailsWith("Remove assertFailsWith and try again, as this problem may have been fixed.") { - assertEquals(S("stu"), S("s")::extension2.call(S("t"), "u")) - } + assertEquals(S("pqr"), S("p")::extension1.call(S("q"), S("r"))) + assertEquals(S("stu"), S("s")::extension2.call(S("t"), S("u"))) assertEquals("_", S("_")::extension3.call()) - assertFailsWith("Remove assertFailsWith and try again, as this problem may have been fixed.") { - assertEquals("_", S("_")::extension4.call(S("_"))) - } + assertEquals("_", S("_")::extension4.call()) return "OK" } diff --git a/compiler/testData/codegen/box/reflection/call/inlineClasses/primitive/functionsWithInlineClassParameters.kt b/compiler/testData/codegen/box/reflection/call/inlineClasses/primitive/functionsWithInlineClassParameters.kt index cbea0f2cd19..aee3194c679 100644 --- a/compiler/testData/codegen/box/reflection/call/inlineClasses/primitive/functionsWithInlineClassParameters.kt +++ b/compiler/testData/codegen/box/reflection/call/inlineClasses/primitive/functionsWithInlineClassParameters.kt @@ -2,7 +2,6 @@ // WITH_REFLECT import kotlin.test.assertEquals -import kotlin.test.assertFailsWith inline class S(val value: Int) { operator fun plus(other: S): S = S(this.value + other.value) @@ -40,9 +39,7 @@ fun box(): String { assertEquals(seven, one::extension1.call(two, four)) assertEquals(seven, one::extension2.call(two, four)) assertEquals(0, zero::extension3.call()) - assertFailsWith("Remove assertFailsWith and try again, as this problem may have been fixed.") { - assertEquals(0, zero::extension4.call(zero)) - } + assertEquals(0, zero::extension4.call()) return "OK" }