aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt')
-rw-r--r--plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt b/plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt
index b18c3a5a..c34fa909 100644
--- a/plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt
+++ b/plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt
@@ -13,6 +13,7 @@ import org.jetbrains.kotlin.utils.addToStdlib.safeAs
import org.junit.jupiter.api.Assertions
import org.junit.jupiter.api.Disabled
import org.junit.jupiter.api.Test
+import java.nio.file.Paths
class LinkableContentTest : AbstractCoreTest() {
@@ -29,20 +30,20 @@ class LinkableContentTest : AbstractCoreTest() {
analysisPlatform = "js"
targets = listOf("js")
sourceRoots = listOf("jsMain", "commonMain", "jvmAndJsSecondCommonMain").map {
- "$testDataDir/$it/kotlin"
+ Paths.get("$testDataDir/$it/kotlin").toString()
}
sourceSetName = "js"
- includes = listOf("$includesDir/include2.md")
+ includes = listOf(Paths.get("$includesDir/include2.md").toString())
}
pass {
moduleName = "example"
analysisPlatform = "jvm"
targets = listOf("jvm")
sourceRoots = listOf("jvmMain", "commonMain", "jvmAndJsSecondCommonMain").map {
- "$testDataDir/$it/kotlin"
+ Paths.get("$testDataDir/$it/kotlin").toString()
}
sourceSetName = "jvm"
- includes = listOf("$includesDir/include1.md")
+ includes = listOf(Paths.get("$includesDir/include1.md").toString())
}
}
}