diff options
author | Paul Phillips <paulp@improving.org> | 2009-10-01 16:44:56 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-10-01 16:44:56 +0000 |
commit | d0442a8636e268f051052e4e4ff04225bab4f67e (patch) | |
tree | 2050fa048043c3b5714b389bc76bb5af57ce04c3 | |
parent | ed09a7a83d96d2d755b24c4ed8af442682e775ea (diff) | |
download | scala-d0442a8636e268f051052e4e4ff04225bab4f67e.tar.gz scala-d0442a8636e268f051052e4e4ff04225bab4f67e.tar.bz2 scala-d0442a8636e268f051052e4e4ff04225bab4f67e.zip |
Test case for #2030 and #2056.
-rw-r--r-- | test/files/run/t2030.check | 2 | ||||
-rw-r--r-- | test/files/run/t2030.scala (renamed from test/pending/run/t2030.scala) | 3 | ||||
-rw-r--r-- | test/pending/run/t2030.check | 1 |
3 files changed, 4 insertions, 2 deletions
diff --git a/test/files/run/t2030.check b/test/files/run/t2030.check new file mode 100644 index 0000000000..5923569f4f --- /dev/null +++ b/test/files/run/t2030.check @@ -0,0 +1,2 @@ +true +class scala.collection.immutable.TreeSet
\ No newline at end of file diff --git a/test/pending/run/t2030.scala b/test/files/run/t2030.scala index 4bf20915fb..251ae2c622 100644 --- a/test/pending/run/t2030.scala +++ b/test/files/run/t2030.scala @@ -1,7 +1,8 @@ import scala.collection.immutable._ object Test extends Application { - val res0 = TreeSet(1, 2, 3) + val res0 = TreeSet(1, 2, 3, 4, 5, 6) val res1 = res0.map(x => x) + println(res0.toList == res1.toList) println(res1.getClass) } diff --git a/test/pending/run/t2030.check b/test/pending/run/t2030.check deleted file mode 100644 index 74327b88a4..0000000000 --- a/test/pending/run/t2030.check +++ /dev/null @@ -1 +0,0 @@ -scala.collection.immutable.TreeSet |