aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Marks <pmarks@virtuslab.com>2020-03-04 00:37:56 +0100
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-03-04 14:28:14 +0100
commitad8d1e01a8d4f1f6066c74f89466f3b33c948f87 (patch)
tree839140b433ad0c7636e535f487c89952c8527edf
parent89c33f431a43caa07365ec69b2b57f3b4e9a01c6 (diff)
downloaddokka-ad8d1e01a8d4f1f6066c74f89466f3b33c948f87.tar.gz
dokka-ad8d1e01a8d4f1f6066c74f89466f3b33c948f87.tar.bz2
dokka-ad8d1e01a8d4f1f6066c74f89466f3b33c948f87.zip
Update of test data
-rw-r--r--plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt2
-rw-r--r--plugins/base/src/test/resources/expect/test/out/root/fn.html2
-rw-r--r--plugins/base/src/test/resources/expect/test/out/root/index.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt b/plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt
index 0706d387..3e06dc20 100644
--- a/plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt
+++ b/plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt
@@ -48,7 +48,7 @@ class KotlinSignatureProvider(ctcc: CommentsToContentConverter, logger: DokkaLog
private fun signature(f: Function) = contentBuilder.contentFor(f, ContentKind.Symbol) {
platformText(f.visibility) { it.externalDisplayName + " " }
- text(f.modifier.toString() + " ")
+ text(f.modifier.toString().toLowerCase() + " ")
text("fun ")
f.receiver?.also {
type(it.type)
diff --git a/plugins/base/src/test/resources/expect/test/out/root/fn.html b/plugins/base/src/test/resources/expect/test/out/root/fn.html
index 806730da..cc0ae002 100644
--- a/plugins/base/src/test/resources/expect/test/out/root/fn.html
+++ b/plugins/base/src/test/resources/expect/test/out/root/fn.html
@@ -14,7 +14,7 @@
</div>
<div id="content">//<a href="../index.html">root</a>/<a href="index.html"></a>/<a href="fn.html">fn</a>
<h1>fn</h1>
-fun <a href="fn.html">fn</a>()
+public final fun <a href="fn.html">fn</a>()
<h3>Description</h3>
Function fn
</div>
diff --git a/plugins/base/src/test/resources/expect/test/out/root/index.html b/plugins/base/src/test/resources/expect/test/out/root/index.html
index fa51a24a..81f2bcc2 100644
--- a/plugins/base/src/test/resources/expect/test/out/root/index.html
+++ b/plugins/base/src/test/resources/expect/test/out/root/index.html
@@ -20,7 +20,7 @@
<tbody>
<tr>
<td><a href="fn.html">fn</a></td>
- <td>fun <a href="fn.html">fn</a>()</td>
+ <td>public final fun <a href="fn.html">fn</a>()</td>
<td>Function fn</td>
</tr>
</tbody>