diff options
author | sebastian.sellmair <sebastian.sellmair@jetbrains.com> | 2020-08-11 12:52:43 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-08-12 09:38:06 +0200 |
commit | bbe5b00387da8fb8a54f8a8ecd80f2f2dea06830 (patch) | |
tree | 193349416ab229be3aafe6b9801c1afe66b8b116 /plugins/base/src/test | |
parent | 6a7d1c9aedfb12f309a410c404a830cb9d3972d3 (diff) | |
download | dokka-bbe5b00387da8fb8a54f8a8ecd80f2f2dea06830.tar.gz dokka-bbe5b00387da8fb8a54f8a8ecd80f2f2dea06830.tar.bz2 dokka-bbe5b00387da8fb8a54f8a8ecd80f2f2dea06830.zip |
Move utility APIs into `PreMergeDocumentationTransformer`
Diffstat (limited to 'plugins/base/src/test')
-rw-r--r-- | plugins/base/src/test/kotlin/filter/EmptyPackagesFilterTest.kt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/plugins/base/src/test/kotlin/filter/EmptyPackagesFilterTest.kt b/plugins/base/src/test/kotlin/filter/EmptyPackagesFilterTest.kt index e5b9e9c2..19bbc164 100644 --- a/plugins/base/src/test/kotlin/filter/EmptyPackagesFilterTest.kt +++ b/plugins/base/src/test/kotlin/filter/EmptyPackagesFilterTest.kt @@ -53,10 +53,12 @@ class EmptyPackagesFilterTest : AbstractCoreTest() { """.trimMargin(), configuration ) { - documentablesFirstTransformationStep = { - Assertions.assertTrue( - it.component2().packages.isEmpty() - ) + documentablesFirstTransformationStep = { modules -> + modules.forEach { module -> + Assertions.assertTrue( + module.packages.isEmpty() + ) + } } } } |