aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt9
1 files changed, 6 insertions, 3 deletions
diff --git a/plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt b/plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt
index 4a7e059c..952780c7 100644
--- a/plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt
+++ b/plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt
@@ -72,7 +72,7 @@ class LinkableContentTest : AbstractCoreTest() {
sourceRoots = listOf("$testDataDir/jsMain/kotlin")
sourceLinks = listOf(
SourceLinkDefinitionImpl(
- localDirectory = "jsMain/kotlin",
+ localDirectory = "$testDataDir/jsMain/kotlin",
remoteUrl = URL("https://github.com/user/repo/tree/master/src/jsMain/kotlin"),
remoteLineSuffix = "#L"
)
@@ -85,7 +85,7 @@ class LinkableContentTest : AbstractCoreTest() {
sourceRoots = listOf("$testDataDir/jvmMain/kotlin")
sourceLinks = listOf(
SourceLinkDefinitionImpl(
- localDirectory = "jvmMain/kotlin",
+ localDirectory = "$testDataDir/jvmMain/kotlin",
remoteUrl = URL("https://github.com/user/repo/tree/master/src/jvmMain/kotlin"),
remoteLineSuffix = "#L"
)
@@ -221,7 +221,10 @@ class LinkableContentTest : AbstractCoreTest() {
child?.text == "S"
}?.safeAs<ContentDRILink>()
- Assertions.assertEquals((sample.documentable as WithGenerics).generics.first().dri, returnTypeNode?.address)
+ Assertions.assertEquals(
+ (sample.documentable as WithGenerics).generics.first().dri,
+ returnTypeNode?.address
+ )
}
}
}