summaryrefslogtreecommitdiff
path: root/test/files/run/colltest1.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2009-09-28 11:09:14 +0000
committerMartin Odersky <odersky@gmail.com>2009-09-28 11:09:14 +0000
commit53d98e7d421d55054fb0bcb606539fc36364bebf (patch)
treebe6b68360458b97ab92a0dc3e963f365ae5acd95 /test/files/run/colltest1.scala
parent32cac0e3fde4a512d7322cd60146bdac7d1898d4 (diff)
downloadscala-53d98e7d421d55054fb0bcb606539fc36364bebf.tar.gz
scala-53d98e7d421d55054fb0bcb606539fc36364bebf.tar.bz2
scala-53d98e7d421d55054fb0bcb606539fc36364bebf.zip
refined implicit resolution.
Diffstat (limited to 'test/files/run/colltest1.scala')
-rw-r--r--test/files/run/colltest1.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/run/colltest1.scala b/test/files/run/colltest1.scala
index 2fc8af2390..7069c052a5 100644
--- a/test/files/run/colltest1.scala
+++ b/test/files/run/colltest1.scala
@@ -127,6 +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)
}
def setTest(empty: => Set[String]) {