summaryrefslogtreecommitdiff
path: root/test/files/run/colltest1.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2009-09-28 12:15:42 +0000
committerMartin Odersky <odersky@gmail.com>2009-09-28 12:15:42 +0000
commit4231751ecf81819f9e973df817c884158014fa51 (patch)
tree8bac8cae714f6b7dd0076165bf5a6be1ce7a2d23 /test/files/run/colltest1.scala
parent53d98e7d421d55054fb0bcb606539fc36364bebf (diff)
downloadscala-4231751ecf81819f9e973df817c884158014fa51.tar.gz
scala-4231751ecf81819f9e973df817c884158014fa51.tar.bz2
scala-4231751ecf81819f9e973df817c884158014fa51.zip
fixed up tests
Diffstat (limited to 'test/files/run/colltest1.scala')
-rw-r--r--test/files/run/colltest1.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/colltest1.scala b/test/files/run/colltest1.scala
index 7069c052a5..ea8ff8e305 100644
--- a/test/files/run/colltest1.scala
+++ b/test/files/run/colltest1.scala
@@ -127,8 +127,8 @@ object Test extends Application {
assert(ten.patch(0, List(1, 2, 3), 9) == List(1, 2, 3, 10))
assert(empty.padTo(10, 7) == Array.fill(10)(7).toSequence)
assert((ten zip ten.indices) == ten.zipWithIndex)
- assert(ten sortWith (_ < _) == ten)
- assert(ten sortWith (_ > _) == ten.reverse)
+ assert(ten.sortWith(_ < _) == ten)
+ assert(ten.sortWith(_ > _) == ten.reverse)
}
def setTest(empty: => Set[String]) {