diff options
author | sebastian.sellmair <sebastian.sellmair@jetbrains.com> | 2020-08-14 16:02:42 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-08-14 17:51:11 +0200 |
commit | 3f8c99cf04893da8fc3c353cba0133dc54e5febe (patch) | |
tree | 95f5b541ad583f85da5130ca01dbff45ec889e6c /plugins/base/src/test | |
parent | f655b97cffd875a33618f4326e0a890d3e73ce24 (diff) | |
download | dokka-3f8c99cf04893da8fc3c353cba0133dc54e5febe.tar.gz dokka-3f8c99cf04893da8fc3c353cba0133dc54e5febe.tar.bz2 dokka-3f8c99cf04893da8fc3c353cba0133dc54e5febe.zip |
Use java.net.URL consistently across Gradle Plugin API surface
Diffstat (limited to 'plugins/base/src/test')
-rw-r--r-- | plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt | 5 |
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" ) ) |