From ad8d1e01a8d4f1f6066c74f89466f3b33c948f87 Mon Sep 17 00:00:00 2001 From: Paweł Marks Date: Wed, 4 Mar 2020 00:37:56 +0100 Subject: Update of test data --- plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt | 2 +- plugins/base/src/test/resources/expect/test/out/root/fn.html | 2 +- plugins/base/src/test/resources/expect/test/out/root/index.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/base/src') 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 @@
//root//fn

fn

-fun fn() +public final fun fn()

Description

Function fn
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 @@ fn - fun fn() + public final fun fn() Function fn -- cgit