diff options
Diffstat (limited to 'integration-tests/src/main/kotlin/org')
-rw-r--r-- | integration-tests/src/main/kotlin/org/jetbrains/dokka/it/AbstractIntegrationTest.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integration-tests/src/main/kotlin/org/jetbrains/dokka/it/AbstractIntegrationTest.kt b/integration-tests/src/main/kotlin/org/jetbrains/dokka/it/AbstractIntegrationTest.kt index fcf6b9dd..c5ea0093 100644 --- a/integration-tests/src/main/kotlin/org/jetbrains/dokka/it/AbstractIntegrationTest.kt +++ b/integration-tests/src/main/kotlin/org/jetbrains/dokka/it/AbstractIntegrationTest.kt @@ -71,7 +71,7 @@ abstract class AbstractIntegrationTest { hrefSplits.first() } else href - val targetFile = if (href.startsWith("file")) { + val targetFile = if (href.startsWith("file:/")) { File(URL(hrefWithoutAnchors).path) } else { File(file.parent, hrefWithoutAnchors) |