From 9bd74024a120aca0c777ee3917084776875daa69 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Tue, 19 Oct 2010 22:14:29 +0000 Subject: A modified approach to map withDefault[Value]. --- test/files/run/t3829.scala | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'test') 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) -- cgit v1.2.3