diff options
author | Hubert Plociniczak <hubert.plociniczak@epfl.ch> | 2011-11-02 14:34:35 +0000 |
---|---|---|
committer | Hubert Plociniczak <hubert.plociniczak@epfl.ch> | 2011-11-02 14:34:35 +0000 |
commit | b6778be91900b8161e705dc2598ef7af86842b0b (patch) | |
tree | d15e8ec18a37eec212f50f1ace27714d7e7d4d34 /test/pending/scalacheck | |
parent | ac6c76f26d884a94d0c9ff54f055d3f9ab750bac (diff) | |
download | scala-b6778be91900b8161e705dc2598ef7af86842b0b.tar.gz scala-b6778be91900b8161e705dc2598ef7af86842b0b.tar.bz2 scala-b6778be91900b8161e705dc2598ef7af86842b0b.zip |
Begone t1737...
Diffstat (limited to 'test/pending/scalacheck')
-rw-r--r-- | test/pending/scalacheck/process.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/pending/scalacheck/process.scala b/test/pending/scalacheck/process.scala index 1e06c4669e..f3aa872361 100644 --- a/test/pending/scalacheck/process.scala +++ b/test/pending/scalacheck/process.scala @@ -1,4 +1,4 @@ -/** process tests. +/** process tests. */ import java.io.{ File, FileNotFoundException, IOException, InputStream, OutputStream, FileInputStream } @@ -11,7 +11,7 @@ import scala.tools.nsc.io.{ File => SFile } /** This has scrounged bits of sbt to flesh it out enough to run. */ package processtest { - + object exit { def fn(code: Int) = System.exit(code) @@ -77,7 +77,7 @@ object IO { class ProcessSpecification extends Properties("Process I/O") { implicit val exitCodeArb: Arbitrary[Array[Byte]] = Arbitrary(Gen.choose(0, 10) flatMap { size => - Gen.resize(size, Arbitrary.arbArray[Byte].arbitrary) + Gen.resize(size, Arbitrary.arbArray[Byte].arbitrary) }) /*property("Correct exit code") = forAll( (exitCode: Byte) => checkExit(exitCode)) |