It seems to me kotest-extensions-arrow needs to be rebuilt with the latest kotest version, since the signature of io.kotest.matchers.shouldBe has changed (previously it was of type Unit, now it returns T).
The error I'm getting is
java.lang.NoSuchMethodError: 'void io.kotest.matchers.ShouldKt.shouldBe(java.lang.Object, java.lang.Object)'
at io.kotest.assertions.arrow.UtilsKt.shouldBe(Utils.kt:7)
at io.kotest.assertions.arrow.core.EitherKt.shouldBeLeft(Either.kt:77)
(and indeed, the type is no longer void).
Actually, UtilsKt can be removed (or made deprecated), since the core matchers now provide the required functionality.
It seems to me
kotest-extensions-arrow
needs to be rebuilt with the latest kotest version, since the signature ofio.kotest.matchers.shouldBe
has changed (previously it was of typeUnit
, now it returnsT
).The error I'm getting is
(and indeed, the type is no longer
void
).Actually,
UtilsKt
can be removed (or made deprecated), since the core matchers now provide the required functionality.