We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a428413 commit 69b276aCopy full SHA for 69b276a
scala-test/src/test/scala/com/baeldung/scala/scalatest/collectiontest/CollectionTest.scala
@@ -73,7 +73,7 @@ class CollectionTest extends AnyFlatSpec with Matchers {
73
val cities2 = List("Barcelona", "Hamburg")
74
Random.shuffle(cities) should contain theSameElementsAs (cities2)
75
cities shouldBe cities2
76
- cities ++ cities should contain only cities2 // but duplicates are allowed
+ cities ++ cities should contain only ("Barcelona", "Hamburg") // but duplicates are allowed
77
cities should contain only cities2
78
}
79
0 commit comments