aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/base/src/test')
-rw-r--r--plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt b/plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt
index 40c87b75..f93678a4 100644
--- a/plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt
+++ b/plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt
@@ -12,6 +12,7 @@ import org.jetbrains.kotlin.utils.addToStdlib.cast
import org.jetbrains.kotlin.utils.addToStdlib.safeAs
import org.junit.jupiter.api.Assertions
import org.junit.jupiter.api.Test
+import java.net.URL
import java.nio.file.Paths
class LinkableContentTest : AbstractCoreTest() {
@@ -70,7 +71,7 @@ class LinkableContentTest : AbstractCoreTest() {
sourceLinks = listOf(
SourceLinkDefinitionImpl(
localDirectory = "jsMain/kotlin",
- remoteUrl = "https://github.com/user/repo/tree/master/src/jsMain/kotlin",
+ remoteUrl = URL("https://github.com/user/repo/tree/master/src/jsMain/kotlin"),
remoteLineSuffix = "#L"
)
)
@@ -83,7 +84,7 @@ class LinkableContentTest : AbstractCoreTest() {
sourceLinks = listOf(
SourceLinkDefinitionImpl(
localDirectory = "jvmMain/kotlin",
- remoteUrl = "https://github.com/user/repo/tree/master/src/jvmMain/kotlin",
+ remoteUrl = URL("https://github.com/user/repo/tree/master/src/jvmMain/kotlin"),
remoteLineSuffix = "#L"
)
)