diff --git a/idea/tests/org/jetbrains/kotlin/idea/run/RunConfigurationTest.kt b/idea/tests/org/jetbrains/kotlin/idea/run/RunConfigurationTest.kt index 90fd10676d3..231de496ca4 100644 --- a/idea/tests/org/jetbrains/kotlin/idea/run/RunConfigurationTest.kt +++ b/idea/tests/org/jetbrains/kotlin/idea/run/RunConfigurationTest.kt @@ -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() {