Cleanup test checking legacy inline suspend
Move expected library compilation output to file. ^KT-36240 Fixed
This commit is contained in:
Vendored
+2
@@ -0,0 +1,2 @@
|
|||||||
|
warning: language version 1.2 is deprecated and its support will be removed in a future version of Kotlin
|
||||||
|
OK
|
||||||
+2
-5
@@ -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.AbstractInsnNode
|
||||||
import org.jetbrains.org.objectweb.asm.tree.MethodInsnNode
|
import org.jetbrains.org.objectweb.asm.tree.MethodInsnNode
|
||||||
import org.jetbrains.org.objectweb.asm.tree.MethodNode
|
import org.jetbrains.org.objectweb.asm.tree.MethodNode
|
||||||
|
import org.jetbrains.uast.test.env.assertEqualsToFile
|
||||||
import java.io.File
|
import java.io.File
|
||||||
import java.net.URLClassLoader
|
import java.net.URLClassLoader
|
||||||
import java.util.jar.JarEntry
|
import java.util.jar.JarEntry
|
||||||
@@ -495,11 +496,7 @@ class CompileKotlinAgainstCustomBinariesTest : AbstractKotlinCompilerIntegration
|
|||||||
additionalOptions = options,
|
additionalOptions = options,
|
||||||
extraClassPath = listOf(ForTestCompileRuntime.coroutinesCompatForTests()),
|
extraClassPath = listOf(ForTestCompileRuntime.coroutinesCompatForTests()),
|
||||||
checkKotlinOutput = { actual ->
|
checkKotlinOutput = { actual ->
|
||||||
// TODO KT-36240
|
KotlinTestUtils.assertEqualsToFile(File(testDataDirectory, "library.output.txt"), actual)
|
||||||
assertEquals(
|
|
||||||
"warning: language version 1.2 is deprecated and its support will be removed in a future version of Kotlin\nOK\n",
|
|
||||||
actual
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
{ _, bytes ->
|
{ _, bytes ->
|
||||||
|
|||||||
Reference in New Issue
Block a user