diff options
Diffstat (limited to 'test/pending/scalacheck/list.scala')
-rw-r--r-- | test/pending/scalacheck/list.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pending/scalacheck/list.scala b/test/pending/scalacheck/list.scala index 1caf35e872..dfa84468d1 100644 --- a/test/pending/scalacheck/list.scala +++ b/test/pending/scalacheck/list.scala @@ -12,7 +12,7 @@ object Test extends Properties("List") { property("startsWith/take") = forAll { (xs: List[Int], count: Int) => xs startsWith (xs take count) } property("endsWith/takeRight") = forAll { (xs: List[Int], count: Int) => xs endsWith (xs takeRight count) } property("fill") = forAll(choose(1, 100)) { count => - forAll { (x: Int) => + forAll { (x: Int) => val xs = List.fill(count)(x) (xs.length == count) && (xs.distinct == List(x)) } |