[Test] Add workaround for KT-44359
This commit is contained in:
@@ -50,7 +50,8 @@ class WrongBytecodeVersionTest : KtUsefulTestCase() {
|
|||||||
val (output, exitCode) = AbstractCliTest.executeCompilerGrabOutput(K2JVMCompiler(), listOf(
|
val (output, exitCode) = AbstractCliTest.executeCompilerGrabOutput(K2JVMCompiler(), listOf(
|
||||||
usageSource.path,
|
usageSource.path,
|
||||||
"-classpath", tmpdir.path,
|
"-classpath", tmpdir.path,
|
||||||
"-d", tmpdir.path
|
"-d", tmpdir.path,
|
||||||
|
"-Xuse-old-backend"
|
||||||
))
|
))
|
||||||
|
|
||||||
assertEquals("Compilation error expected", ExitCode.COMPILATION_ERROR, exitCode)
|
assertEquals("Compilation error expected", ExitCode.COMPILATION_ERROR, exitCode)
|
||||||
|
|||||||
Reference in New Issue
Block a user