Skip to content

Commit f9cb7aa

Browse files
committed
Revert changes in test
Changes were made by accident.
1 parent 495b07e commit f9cb7aa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/run/colltest1.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,7 @@ object Test extends dotty.runtime.LegacyApp {
139139

140140
def setTest(empty: => Set[String]): Unit = {
141141
var s = empty + "A" + "B" + "C"
142-
s += "D"
143-
s = s + ("D", "E", "F")
142+
s += ("D", "E", "F")
144143
s ++= List("G", "H", "I")
145144
s ++= ('J' to 'Z') map (_.toString)
146145
assert(s forall (s contains))

0 commit comments

Comments
 (0)