diff --git a/laws/src/main/scala/cats/laws/discipline/MonadTests.scala b/laws/src/main/scala/cats/laws/discipline/MonadTests.scala index 7dfebf3cc5..669bd5ec42 100644 --- a/laws/src/main/scala/cats/laws/discipline/MonadTests.scala +++ b/laws/src/main/scala/cats/laws/discipline/MonadTests.scala @@ -34,7 +34,7 @@ trait MonadTests[F[_]] extends ApplicativeTests[F] with FlatMapTests[F] { "monad left identity" -> forAll(laws.monadLeftIdentity[A, B] _), "monad right identity" -> forAll(laws.monadRightIdentity[A] _), "map flatMap coherence" -> forAll(laws.mapFlatMapCoherence[A, B] _) - ) ++ (if (Platform.isJvm) Seq[(String, Prop)]("tailRecM stack safety" -> laws.tailRecMStackSafety) else Seq.empty) + ) ++ (if (Platform.isJvm) Seq[(String, Prop)]("tailRecM stack safety" -> Prop.lzy(laws.tailRecMStackSafety)) else Seq.empty) } }