diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2018-05-17 19:48:44 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2018-05-17 19:48:44 +0300 |
commit | 9865da2e6e6c038ab6c719a6a03bb09184542d20 (patch) | |
tree | 986be16032df54f01ba47e3347937833dd761540 /core/src/test/kotlin/format | |
parent | ad95537c3f2eb5ba1478f82fd5b476d2309bc986 (diff) | |
download | dokka-9865da2e6e6c038ab6c719a6a03bb09184542d20.tar.gz dokka-9865da2e6e6c038ab6c719a6a03bb09184542d20.tar.bz2 dokka-9865da2e6e6c038ab6c719a6a03bb09184542d20.zip |
Fix incorrect link to stylesheet in html format
Diffstat (limited to 'core/src/test/kotlin/format')
-rw-r--r-- | core/src/test/kotlin/format/FileGeneratorTestCase.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/test/kotlin/format/FileGeneratorTestCase.kt b/core/src/test/kotlin/format/FileGeneratorTestCase.kt index 948426ea..ef9e815d 100644 --- a/core/src/test/kotlin/format/FileGeneratorTestCase.kt +++ b/core/src/test/kotlin/format/FileGeneratorTestCase.kt @@ -27,7 +27,7 @@ abstract class FileGeneratorTestCase { if (sb.isNotBlank() && !sb.endsWith('\n')) { sb.appendln() } - sb.appendln("<!-- File: ${relativeToRoot(loc).toUnixString()} -->") + sb.appendln("<!-- File: ${loc.file.relativeTo(root).toUnixString()} -->") } sb.append(loc.file.readText()) } |