summaryrefslogtreecommitdiff
path: root/test/files/run/t3829.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t3829.scala')
-rw-r--r--test/files/run/t3829.scala8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/files/run/t3829.scala b/test/files/run/t3829.scala
index 49fbbe6363..a7d03f34eb 100644
--- a/test/files/run/t3829.scala
+++ b/test/files/run/t3829.scala
@@ -1,13 +1,9 @@
-
-
-
-
// ticket #3829
object Test {
- import collection._
+ import collection.{ mutable, immutable }
def main(args: Array[String]) {
- val map = Map(1 -> 2, 3 -> 4)
+ val map = immutable.Map(1 -> 2, 3 -> 4)
assert(map.get(0) == None)
val defmap = map.withDefaultValue(-1)