Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
serras committed Nov 4, 2024
1 parent eac81c7 commit 6ff4f57
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import kotlin.test.Test
class ListKTest {

@Test fun monoidLaws() =
testLaws(MonoidLaws("List", emptyList(), List<Int>::plus, Arb.list(Arb.int())))
testLaws(MonoidLaws("List", emptyList(), { x: List<Int>, y: List<Int> -> x + y }, Arb.list(Arb.int())))

@Test fun mapNotNullOk() = runTest {
checkAll(Arb.list(Arb.int())) { listk ->
Expand Down

0 comments on commit 6ff4f57

Please sign in to comment.