diff --git a/kodein-log/src/commonTest/kotlin/org/kodein/log/WhiteListTests.kt b/kodein-log/src/commonTest/kotlin/org/kodein/log/WhiteListTests.kt index 3d693c3..9a0246b 100644 --- a/kodein-log/src/commonTest/kotlin/org/kodein/log/WhiteListTests.kt +++ b/kodein-log/src/commonTest/kotlin/org/kodein/log/WhiteListTests.kt @@ -11,8 +11,8 @@ class WhiteListTests { private class TestFrontendBuilder { val entries: MutableList> = ArrayList() - operator fun unaryPlus(): LogFrontend = { tag -> - { entry, message -> + operator fun unaryPlus(): LogFrontend = LogFrontend { tag -> + LogReceiver { entry, message -> entries += Triple(tag, entry, message) } }