We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1fad5c4 + 0d2b792 commit 8465d71Copy full SHA for 8465d71
src/main/scala/org/scalacheck/Test.scala
@@ -225,9 +225,6 @@ object Test {
225
) throw new IllegalArgumentException("Invalid test parameters")
226
}
227
228
- private def secure[T](x: => T): Either[T,Throwable] =
229
- try { Left(x) } catch { case e: Throwable => Right(e) }
230
-
231
private[scalacheck] lazy val cmdLineParser = new CmdLineParser {
232
object OptMinSuccess extends IntOpt {
233
val default = Parameters.default.minSuccessfulTests
0 commit comments