aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/run/colltest1.check (renamed from tests/pending/run/colltest1.check)0
-rw-r--r--tests/run/colltest1.scala (renamed from tests/pending/run/colltest1.scala)3
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/pending/run/colltest1.check b/tests/run/colltest1.check
index 5ec6286d9..5ec6286d9 100644
--- a/tests/pending/run/colltest1.check
+++ b/tests/run/colltest1.check
diff --git a/tests/pending/run/colltest1.scala b/tests/run/colltest1.scala
index 3f1fe5530..1fd1a4bb9 100644
--- a/tests/pending/run/colltest1.scala
+++ b/tests/run/colltest1.scala
@@ -139,7 +139,8 @@ object Test extends dotty.runtime.LegacyApp {
def setTest(empty: => Set[String]): Unit = {
var s = empty + "A" + "B" + "C"
- s += ("D", "E", "F")
+ s += "D"
+ s = s + ("D", "E", "F")
s ++= List("G", "H", "I")
s ++= ('J' to 'Z') map (_.toString)
assert(s forall (s contains))