Fix RunConfigurationTest

This commit is contained in:
Natalia Selezneva
2019-06-13 16:13:31 +03:00
parent 39f6a6b249
commit a69b5345d5
@@ -147,7 +147,9 @@ class RunConfigurationTest: KotlinCodeInsightTestCase() {
val javaParameters = getJavaRunParameters(kotlinRunConfiguration)
val commandLine = javaParameters.toCommandLine().commandLineString
Assert.assertTrue(commandLine.length < javaParameters.classPath.pathList.joinToString().length)
assert(commandLine.length > javaParameters.classPath.pathList.joinToString(File.pathSeparator).length) {
"Wrong command line length: \ncommand line = $commandLine, \nclasspath = ${javaParameters.classPath.pathList.joinToString()}"
}
}
fun testClassesAndObjects() {