Skip to content

Commit

Permalink
Merge pull request #789 from ashawley/quiet-proofs
Browse files Browse the repository at this point in the history
Verbosity level for pretty-printing proofs
  • Loading branch information
larsrh authored Apr 10, 2021
2 parents 4accdb0 + b18d7ab commit a12c5e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/scala/org/scalacheck/util/Pretty.scala
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ object Pretty {
if(ls.isEmpty) ""
else "> Labels of failing property: " / ls.mkString("\n")
val s = res.status match {
case Test.Proved(args) if(prms.verbosity <= 1) => "OK, proved property."
case Test.Proved(args) => "OK, proved property."/prettyArgs(args)(prms)
case Test.Passed => "OK, passed "+res.succeeded+" tests."
case Test.Failed(args, l) =>
Expand Down

0 comments on commit a12c5e9

Please sign in to comment.