diff --git a/compiler/testData/codegen/box/javaInterop/notNullAssertions/staticCallErrorMessage.kt b/compiler/testData/codegen/box/javaInterop/notNullAssertions/staticCallErrorMessage.kt index 401402eae07..dd7e45d6d3f 100644 --- a/compiler/testData/codegen/box/javaInterop/notNullAssertions/staticCallErrorMessage.kt +++ b/compiler/testData/codegen/box/javaInterop/notNullAssertions/staticCallErrorMessage.kt @@ -7,7 +7,7 @@ fun box(): String { return try { f(J.s()) } catch (e: IllegalStateException) { - if (e.message == "J.s() must not be null") + if (e.message == "J.s() must not be null" || e.message == "s() must not be null") "OK" else "Fail: ${e.message}"