From e54d9b20f5a4935d0089a77dbea16c27c065cf48 Mon Sep 17 00:00:00 2001 From: Marcin Aman Date: Thu, 8 Oct 2020 20:37:55 +0200 Subject: Handle multiple authors (#1539) --- .../kotlin/content/params/ContentForParamsTest.kt | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'plugins/base/src/test/kotlin/content/params') diff --git a/plugins/base/src/test/kotlin/content/params/ContentForParamsTest.kt b/plugins/base/src/test/kotlin/content/params/ContentForParamsTest.kt index 2dce7e28..cf4fa2e7 100644 --- a/plugins/base/src/test/kotlin/content/params/ContentForParamsTest.kt +++ b/plugins/base/src/test/kotlin/content/params/ContentForParamsTest.kt @@ -113,6 +113,7 @@ class ContentForParamsTest : AbstractCoreTest() { |package test | /** | * @author Kordyjan + | * @author Woolfy | * @since 0.11 | */ |fun function(abc: String) { @@ -141,8 +142,15 @@ class ContentForParamsTest : AbstractCoreTest() { ) } after { - unnamedTag("Author") { group { +"Kordyjan" } } - unnamedTag("Since") { group { +"0.11" } } + unnamedTag("Author") { + comment { + +"Kordyjan" + } + comment { + +"Woolfy" + } + } + unnamedTag("Since") { comment { +"0.11" } } } } } @@ -189,8 +197,8 @@ class ContentForParamsTest : AbstractCoreTest() { } after { group { pWrapped("comment to function") } - unnamedTag("Author") { group { +"Kordyjan" } } - unnamedTag("Since") { group { +"0.11" } } + unnamedTag("Author") { comment { +"Kordyjan" } } + unnamedTag("Since") { comment { +"0.11" } } } } } @@ -537,8 +545,8 @@ class ContentForParamsTest : AbstractCoreTest() { } after { group { pWrapped("comment to function") } - unnamedTag("Author") { group { +"Kordyjan" } } - unnamedTag("Since") { group { +"0.11" } } + unnamedTag("Author") { comment { +"Kordyjan" } } + unnamedTag("Since") { comment { +"0.11" } } header(2) { +"Parameters" } group { -- cgit