From 64100eec07ea88c3bf112d729c4df6e22f30b646 Mon Sep 17 00:00:00 2001 From: Dmitriy Novozhilov Date: Fri, 15 Jan 2021 11:48:11 +0300 Subject: [PATCH] [Test] Add workaround for KT-44359 --- .../tests/org/jetbrains/kotlin/cli/WrongBytecodeVersionTest.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/tests/org/jetbrains/kotlin/cli/WrongBytecodeVersionTest.kt b/compiler/tests/org/jetbrains/kotlin/cli/WrongBytecodeVersionTest.kt index f353617c62f..8cfb6f663ca 100644 --- a/compiler/tests/org/jetbrains/kotlin/cli/WrongBytecodeVersionTest.kt +++ b/compiler/tests/org/jetbrains/kotlin/cli/WrongBytecodeVersionTest.kt @@ -50,7 +50,8 @@ class WrongBytecodeVersionTest : KtUsefulTestCase() { val (output, exitCode) = AbstractCliTest.executeCompilerGrabOutput(K2JVMCompiler(), listOf( usageSource.path, "-classpath", tmpdir.path, - "-d", tmpdir.path + "-d", tmpdir.path, + "-Xuse-old-backend" )) assertEquals("Compilation error expected", ExitCode.COMPILATION_ERROR, exitCode)