Skip to content

Commit

Permalink
Fixed test for Kotlin 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Salomon BRYS committed Aug 19, 2020
1 parent 60dae85 commit 3dd96c1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ class WhiteListTests {
private class TestFrontendBuilder {
val entries: MutableList<Triple<Tag, Logger.Entry, String?>> = ArrayList()

operator fun unaryPlus(): LogFrontend = { tag ->
{ entry, message ->
operator fun unaryPlus(): LogFrontend = LogFrontend { tag ->
LogReceiver { entry, message ->
entries += Triple(tag, entry, message)
}
}
Expand Down

0 comments on commit 3dd96c1

Please sign in to comment.