Skip to content

Commit

Permalink
scalacheck: fix reporting not initial seed for failure after some pas…
Browse files Browse the repository at this point in the history
…sed tests (#1178)
  • Loading branch information
ivan-klass authored Jul 23, 2023
1 parent f71c221 commit 2bb0281
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ trait ScalaCheckPropertyCheck extends ExpectationsCreation:
case _ =>
val sd = Seed.random()
(prms0.withInitialSeed(sd), sd)
capturedSeed = seed
capturedSeed = Option(capturedSeed).getOrElse(seed)
prop(prms)
}

Expand Down

0 comments on commit 2bb0281

Please sign in to comment.