Assigning single value to varargs is prohibited, use arrayOf
This commit is contained in:
@@ -76,7 +76,7 @@ abstract class AbstractKotlinExceptionFilterTest : KotlinCodeInsightTestCase() {
|
||||
}
|
||||
moduleModel.commit()
|
||||
}
|
||||
MockLibraryUtil.compileKotlin(path, File(outDir.path), extraClasspath = mockLibraryPath)
|
||||
MockLibraryUtil.compileKotlin(path, File(outDir.path), extraClasspath = *arrayOf(mockLibraryPath))
|
||||
classLoader = URLClassLoader(
|
||||
arrayOf(URL(outDir.url + "/"), mockLibraryJar.toURI().toURL()),
|
||||
ForTestCompileRuntime.runtimeJarClassLoader())
|
||||
|
||||
Reference in New Issue
Block a user