From d0442a8636e268f051052e4e4ff04225bab4f67e Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Thu, 1 Oct 2009 16:44:56 +0000 Subject: Test case for #2030 and #2056. --- test/files/run/t2030.check | 2 ++ test/files/run/t2030.scala | 8 ++++++++ test/pending/run/t2030.check | 1 - test/pending/run/t2030.scala | 7 ------- 4 files changed, 10 insertions(+), 8 deletions(-) create mode 100644 test/files/run/t2030.check create mode 100644 test/files/run/t2030.scala delete mode 100644 test/pending/run/t2030.check delete mode 100644 test/pending/run/t2030.scala 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/files/run/t2030.scala b/test/files/run/t2030.scala new file mode 100644 index 0000000000..251ae2c622 --- /dev/null +++ b/test/files/run/t2030.scala @@ -0,0 +1,8 @@ +import scala.collection.immutable._ + +object Test extends Application { + 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 diff --git a/test/pending/run/t2030.scala b/test/pending/run/t2030.scala deleted file mode 100644 index 4bf20915fb..0000000000 --- a/test/pending/run/t2030.scala +++ /dev/null @@ -1,7 +0,0 @@ -import scala.collection.immutable._ - -object Test extends Application { - val res0 = TreeSet(1, 2, 3) - val res1 = res0.map(x => x) - println(res1.getClass) -} -- cgit v1.2.3