aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/colltest.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/run/colltest.scala')
-rw-r--r--tests/pending/run/colltest.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pending/run/colltest.scala b/tests/pending/run/colltest.scala
index 703e94a3c..46e0c8478 100644
--- a/tests/pending/run/colltest.scala
+++ b/tests/pending/run/colltest.scala
@@ -24,7 +24,7 @@ class TestSet(s0: Set[Int], s1: Set[Int]) {
case 6 => "add"
case 7 => "size"
}
- def checkSubSet(pre: String, s0: Set[Int], s1: Set[Int]) {
+ def checkSubSet(pre: String, s0: Set[Int], s1: Set[Int]): Unit = {
for (e <- s0.iterator)
if (!(s1 contains e)) {
assert(false, pre+" element: "+e+"\n S0 = "+s0+"\n S1 = "+s1)
@@ -46,7 +46,7 @@ class TestSet(s0: Set[Int], s1: Set[Int]) {
Console.println("succeeded for "+Iterations+" iterations.")
}
object Test extends App {
- def t3954 {
+ def t3954: Unit = {
import scala.collection.mutable
import scala.collection.immutable
val result = new mutable.ImmutableSetAdaptor(immutable.ListSet.empty[Int])