aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/locationProvider/Dokka010ExternalLocationProviderTest.kt
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/base/src/test/kotlin/locationProvider/Dokka010ExternalLocationProviderTest.kt')
-rw-r--r--plugins/base/src/test/kotlin/locationProvider/Dokka010ExternalLocationProviderTest.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/base/src/test/kotlin/locationProvider/Dokka010ExternalLocationProviderTest.kt b/plugins/base/src/test/kotlin/locationProvider/Dokka010ExternalLocationProviderTest.kt
index 0d419520..590bc0a3 100644
--- a/plugins/base/src/test/kotlin/locationProvider/Dokka010ExternalLocationProviderTest.kt
+++ b/plugins/base/src/test/kotlin/locationProvider/Dokka010ExternalLocationProviderTest.kt
@@ -14,7 +14,8 @@ import org.junit.jupiter.api.Test
import java.net.URL
class Dokka010ExternalLocationProviderTest : AbstractCoreTest() {
- private val testDataDir = getTestDataDir("locationProvider").toAbsolutePath()
+ private val testDataDir =
+ getTestDataDir("locationProvider").toAbsolutePath().toString().removePrefix("/").let { "/$it" }
private val kotlinLang = "https://kotlinlang.org/api/latest/jvm/stdlib"
private val packageListURL = URL("file://$testDataDir/old-package-list")
private val configuration = dokkaConfiguration {