diff options
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() + ) + } } } } |