Skip to content

Commit 9030514

Browse files
erokhinsvladimirdolzhenko
authored andcommitted
Use absolute path to the project in test in AS 4.2
It seems like sometimes by some reason here used relative path, but also seems like corresponding function prefer absolute path. Without it tests failing (for example ConfigureKotlinTest)
1 parent 8aea013 commit 9030514

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

idea/tests/org/jetbrains/kotlin/idea/configuration/AbstractConfigureKotlinTest.kt.as42

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ abstract class AbstractConfigureKotlinTest : PlatformTestCase() {
111111
}
112112

113113
override fun doCreateProject(projectFile: Path): Project {
114-
return (ProjectManagerEx.getInstanceEx()).loadProject(projectFile)
114+
return (ProjectManagerEx.getInstanceEx()).loadProject(projectFile.toAbsolutePath())
115115
}
116116

117117
private val projectName: String

0 commit comments

Comments
 (0)