diff options
author | Andrzej Ratajczak <andrzej.ratajczak98@gmail.com> | 2020-09-29 11:06:02 +0200 |
---|---|---|
committer | Andrzej Ratajczak <32793002+BarkingBad@users.noreply.github.com> | 2020-09-29 11:39:10 +0200 |
commit | 7e572b6341bc7da3eeed4aef41665097ebad9f35 (patch) | |
tree | eeb74c64b1e1a6f4a1e96f557965b7a6f10e4be9 /plugins/base/src/test/kotlin/utils | |
parent | 64ec7ad22e9541b639e854aa413a2cffd650e8d0 (diff) | |
download | dokka-7e572b6341bc7da3eeed4aef41665097ebad9f35.tar.gz dokka-7e572b6341bc7da3eeed4aef41665097ebad9f35.tar.bz2 dokka-7e572b6341bc7da3eeed4aef41665097ebad9f35.zip |
Fix failing tests
Diffstat (limited to 'plugins/base/src/test/kotlin/utils')
-rw-r--r-- | plugins/base/src/test/kotlin/utils/contentUtils.kt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/base/src/test/kotlin/utils/contentUtils.kt b/plugins/base/src/test/kotlin/utils/contentUtils.kt index 7fcd8e89..4cb3cfea 100644 --- a/plugins/base/src/test/kotlin/utils/contentUtils.kt +++ b/plugins/base/src/test/kotlin/utils/contentUtils.kt @@ -129,7 +129,8 @@ fun ContentMatcherBuilder<*>.propertySignature( keywords: Set<String>, preposition: String, name: String, - type: String? = null + type: String? = null, + value: String? = null ) { group { header { +"Package test" } @@ -159,6 +160,9 @@ fun ContentMatcherBuilder<*>.propertySignature( } } } + if (type != null) { + +(" = $value") + } } } } |