From 9d6cd6f0e26fdb2cf23d074d74e87ec1da18d7b0 Mon Sep 17 00:00:00 2001 From: Alexey Tsvetkov Date: Fri, 11 Aug 2017 20:51:06 +0300 Subject: [PATCH] Normalize paths in AbstractLookupTrackerTest Otherwise the tests are failing on Windows Original commit: 0226d15d298950f209a87d24ff365bea44142cd7 --- .../jetbrains/kotlin/jps/build/AbstractLookupTrackerTest.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/AbstractLookupTrackerTest.kt b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/AbstractLookupTrackerTest.kt index cdf06839525..ac19b95f2cb 100644 --- a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/AbstractLookupTrackerTest.kt +++ b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/AbstractLookupTrackerTest.kt @@ -184,7 +184,8 @@ abstract class AbstractLookupTrackerTest : TestWithWorkingDir() { lookupsFromFile.isEmpty() -> "(no lookups)" else -> "" } - sb.indentln("${compiledFile.toRelativeString(workingDir)}$lookupStatus") + val relativePath = compiledFile.toRelativeString(workingDir).replace("\\", "/") + sb.indentln("$relativePath$lookupStatus") } sb.appendln("Exit code: $exitCode")