summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2007-03-08 15:06:36 +0000
committermichelou <michelou@epfl.ch>2007-03-08 15:06:36 +0000
commitf7fd7808775c98a4874609755fc2b2a0fc34f161 (patch)
treec4b620c1ff9e069c8fd5f2234523f5dbd8715199 /test
parent8514f85695a5ec0fd179d4304b071e249fa4ab3b (diff)
downloadscala-f7fd7808775c98a4874609755fc2b2a0fc34f161.tar.gz
scala-f7fd7808775c98a4874609755fc2b2a0fc34f161.tar.bz2
scala-f7fd7808775c98a4874609755fc2b2a0fc34f161.zip
fixed check file for run/bitsets.scala
Diffstat (limited to 'test')
-rw-r--r--test/files/run/bitsets.check7
-rw-r--r--test/files/run/bitsets.scala4
2 files changed, 9 insertions, 2 deletions
diff --git a/test/files/run/bitsets.check b/test/files/run/bitsets.check
index e9e6df08ad..01bd685eeb 100644
--- a/test/files/run/bitsets.check
+++ b/test/files/run/bitsets.check
@@ -2,7 +2,7 @@ ms0 = Set(2)
ms1 = Set(2)
ms2 = Set(2)
mb0 = false
-mb1 = false
+mb1 = true
mb2 = false
xs0 = List(2)
xs1 = List(2)
@@ -10,6 +10,9 @@ xs2 = List(2)
ma0 = List(4)
ma1 = List(4)
ma2 = List(4)
+mi0 = Set(2)
+mi1 = Set(2)
+mi2 = Set(2)
is0 = Set()
is1 = Set()
@@ -17,7 +20,7 @@ is2 = Set(2)
is3 = Set()
ib0 = false
ib1 = false
-ib2 = false
+ib2 = true
ib3 = false
ys0 = List()
ys1 = List()
diff --git a/test/files/run/bitsets.scala b/test/files/run/bitsets.scala
index d296b81bd3..50790485d0 100644
--- a/test/files/run/bitsets.scala
+++ b/test/files/run/bitsets.scala
@@ -33,6 +33,10 @@ object TestMutable {
Console.println("ma0 = " + ms0.toArray.toList)
Console.println("ma1 = " + ms1.toArray.toList)
Console.println("ma2 = " + ms2.toArray.toList)
+
+ Console.println("mi0 = " + ms0.toImmutable)
+ Console.println("mi1 = " + ms1.toImmutable)
+ Console.println("mi2 = " + ms2.toImmutable)
Console.println
}