diff options
author | Aleksandar Pokopec <aleksandar.prokopec@epfl.ch> | 2011-04-13 16:32:01 +0000 |
---|---|---|
committer | Aleksandar Pokopec <aleksandar.prokopec@epfl.ch> | 2011-04-13 16:32:01 +0000 |
commit | 9334ad0db28f62c3e1d33d6b12e03720a76fb1eb (patch) | |
tree | 69e6c6eb0c6a9b714447cc8eaa2331cbd1233c33 /test/files/run | |
parent | af358131de08e41bdb3d2bba46f309f0c03ab03b (diff) | |
download | scala-9334ad0db28f62c3e1d33d6b12e03720a76fb1eb.tar.gz scala-9334ad0db28f62c3e1d33d6b12e03720a76fb1eb.tar.bz2 scala-9334ad0db28f62c3e1d33d6b12e03720a76fb1eb.zip |
Fixed some tests, renamed from Any to Gen.
No review.
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/pc-conversions.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/run/pc-conversions.scala b/test/files/run/pc-conversions.scala index 64e0720572..8f6a7744d9 100644 --- a/test/files/run/pc-conversions.scala +++ b/test/files/run/pc-conversions.scala @@ -53,9 +53,9 @@ object Test { def assertSeq[T](pc: parallel.ParIterable[T]) = assert(pc.seq == pc) - def assertPar[T, P <: Parallel](xs: AnyIterable[T]) = assert(xs == xs.par) + def assertPar[T, P <: Parallel](xs: GenIterable[T]) = assert(xs == xs.par) - def assertToPar[K, V](xs: AnyTraversable[(K, V)]) { + def assertToPar[K, V](xs: GenTraversable[(K, V)]) { xs match { case _: Seq[_] => assert(xs.toIterable.par == xs) @@ -73,7 +73,7 @@ object Test { assert(xs.par.toMap == xs.toMap) } - def assertToParWoMap[T](xs: AnySeq[T]) { + def assertToParWoMap[T](xs: GenSeq[T]) { assert(xs.toIterable.par == xs.toIterable) assert(xs.par.toIterable == xs.toIterable) |