diff --git a/idea/tests/org/jetbrains/kotlin/idea/run/runConfigurationTestUtil.kt b/idea/tests/org/jetbrains/kotlin/idea/run/runConfigurationTestUtil.kt index 41a01d14f2f..fef7b30258c 100644 --- a/idea/tests/org/jetbrains/kotlin/idea/run/runConfigurationTestUtil.kt +++ b/idea/tests/org/jetbrains/kotlin/idea/run/runConfigurationTestUtil.kt @@ -65,7 +65,7 @@ fun createLibraryWithLongPaths(project: Project): Library { for (i in 0..maxCommandlineLengthWindows / maxFilenameLengthWindows) { val tmpFile = VirtualFileManager.constructUrl( LocalFileSystem.getInstance().protocol, - FileUtil.createTempFile("file$i", "a".repeat(maxFilenameLengthWindows)).path + FileUtil.createTempDirectory("file$i", "a".repeat(maxFilenameLengthWindows)).path ) addRoot(tmpFile, OrderRootType.CLASSES) }