diff --git a/compiler/testData/compileKotlinAgainstCustomBinaries/obsoleteInlineSuspend/library.output.txt b/compiler/testData/compileKotlinAgainstCustomBinaries/obsoleteInlineSuspend/library.output.txt new file mode 100644 index 00000000000..7d53695d487 --- /dev/null +++ b/compiler/testData/compileKotlinAgainstCustomBinaries/obsoleteInlineSuspend/library.output.txt @@ -0,0 +1,2 @@ +warning: language version 1.2 is deprecated and its support will be removed in a future version of Kotlin +OK diff --git a/compiler/tests/org/jetbrains/kotlin/jvm/compiler/CompileKotlinAgainstCustomBinariesTest.kt b/compiler/tests/org/jetbrains/kotlin/jvm/compiler/CompileKotlinAgainstCustomBinariesTest.kt index 6ce41609649..b58fca3dd71 100644 --- a/compiler/tests/org/jetbrains/kotlin/jvm/compiler/CompileKotlinAgainstCustomBinariesTest.kt +++ b/compiler/tests/org/jetbrains/kotlin/jvm/compiler/CompileKotlinAgainstCustomBinariesTest.kt @@ -39,6 +39,7 @@ import org.jetbrains.org.objectweb.asm.* import org.jetbrains.org.objectweb.asm.tree.AbstractInsnNode import org.jetbrains.org.objectweb.asm.tree.MethodInsnNode import org.jetbrains.org.objectweb.asm.tree.MethodNode +import org.jetbrains.uast.test.env.assertEqualsToFile import java.io.File import java.net.URLClassLoader import java.util.jar.JarEntry @@ -495,11 +496,7 @@ class CompileKotlinAgainstCustomBinariesTest : AbstractKotlinCompilerIntegration additionalOptions = options, extraClassPath = listOf(ForTestCompileRuntime.coroutinesCompatForTests()), checkKotlinOutput = { actual -> - // TODO KT-36240 - assertEquals( - "warning: language version 1.2 is deprecated and its support will be removed in a future version of Kotlin\nOK\n", - actual - ) + KotlinTestUtils.assertEqualsToFile(File(testDataDirectory, "library.output.txt"), actual) } ), { _, bytes ->