LV20 mute test related to main function detection
related to #KT-44557
This commit is contained in:
committed by
Space Team
parent
137dfbaca4
commit
0883b4468b
@@ -106,7 +106,8 @@ class CustomCliTest : TestCaseWithTmpdir() {
|
||||
|
||||
private fun compileAndCheckMainClass(sourceFiles: List<File>, expectedMainClass: String?) {
|
||||
val jarFile = tmpdir.resolve("output.jar")
|
||||
val args = listOf("-include-runtime", "-d", jarFile.absolutePath) + sourceFiles.map { it.absolutePath }
|
||||
// TODO: remove explicit verion after implementing main fun detector (KT-44557)
|
||||
val args = listOf("-language-version", "1.9", "-include-runtime", "-d", jarFile.absolutePath) + sourceFiles.map { it.absolutePath }
|
||||
CompilerTestUtil.executeCompilerAssertSuccessful(K2JVMCompiler(), args)
|
||||
|
||||
JarFile(jarFile).use {
|
||||
|
||||
Reference in New Issue
Block a user