Hi, quick question regarding v4 of kotest. I upgra...
# kotest
p
Hi, quick question regarding v4 of kotest. I upgraded from v3 and I'm seeing strange behaviour on one of my test cases. Here is a small example:
Copy code
val intArb = <http://Arb.int|Arb.int>(1, 10).map { i ->
                println("generated $i")
            }

intArb.values(RandomSource.Default).take(1).toList()
This is supposed to only print once, right? The output is always printed twice. The same happens with a custom arbitrary:
Copy code
val customArb = arb {
                generateSequence { 1 }
            }.map { i ->
                println("customArb $i")
            }

customArb.values(RandomSource.Default).take(1).toList()
In v3, it used to only print once