diff options
author | Sean McDirmid <sean.mcdirmid@gmail.com> | 2007-05-22 13:23:43 +0000 |
---|---|---|
committer | Sean McDirmid <sean.mcdirmid@gmail.com> | 2007-05-22 13:23:43 +0000 |
commit | 02a1f9afa99ec7af37b0ce0bb02ec6159b93fa84 (patch) | |
tree | 3051c9029f085abc293c995a443b2bf0ce0b718c /test/files | |
parent | c4df28255a9af5352ec081cdb88c805c05f567bc (diff) | |
download | scala-02a1f9afa99ec7af37b0ce0bb02ec6159b93fa84.tar.gz scala-02a1f9afa99ec7af37b0ce0bb02ec6159b93fa84.tar.bz2 scala-02a1f9afa99ec7af37b0ce0bb02ec6159b93fa84.zip |
rolling back tests.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/run/iterators.scala | 12 | ||||
-rw-r--r-- | test/files/run/richs-msil.check | 4 | ||||
-rw-r--r-- | test/files/run/richs.check | 4 | ||||
-rw-r--r-- | test/files/run/richs.scala | 1 |
4 files changed, 7 insertions, 14 deletions
diff --git a/test/files/run/iterators.scala b/test/files/run/iterators.scala index 435018ca7b..7ff4824652 100644 --- a/test/files/run/iterators.scala +++ b/test/files/run/iterators.scala @@ -12,19 +12,11 @@ object Test { val it2 = Iterator.from(0, -1) it1.next + it2.next } - def check_range: Int = { val xs1 = Iterator.range(0, 10, 2) toList; - val xs2 = try { - val r = Iterator.range(0, 10, -2) toList; - throw new Error("" + r) - } catch { - case e : IllegalArgumentException => Nil - } + val xs2 = Iterator.range(0, 10, -2) toList; val xs3 = Iterator.range(10, 0, -2) toList; - val xs4 = - Iterator.range(10, 0, 2) toList; - + val xs4 = Iterator.range(10, 0, 2) toList; val xs5 = Iterator.range(0, 10, 11) toList; xs1.length + xs2.length + xs3.length + xs4.length + xs5.length } diff --git a/test/files/run/richs-msil.check b/test/files/run/richs-msil.check index 940ea360d4..e628ad3998 100644 --- a/test/files/run/richs-msil.check +++ b/test/files/run/richs-msil.check @@ -10,8 +10,8 @@ RichIntTest: 11 12 13 -12 -13 +0 +0 RichStringTest1: s1: abc diff --git a/test/files/run/richs.check b/test/files/run/richs.check index 562f52f054..80b2ef3ef2 100644 --- a/test/files/run/richs.check +++ b/test/files/run/richs.check @@ -10,8 +10,8 @@ RichIntTest: 11 12 13 -12 -13 +0 +0 RichStringTest1: s1: abc diff --git a/test/files/run/richs.scala b/test/files/run/richs.scala index 629fca58be..951b249e07 100644 --- a/test/files/run/richs.scala +++ b/test/files/run/richs.scala @@ -105,6 +105,7 @@ object RichStringTest5 extends RichTest { Console.println("s5: " + s5.stripMargin('#')) } } +/** xxx */ object Test { def main(args: Array[String]): Unit = { RichCharTest1.run |