diff options
Diffstat (limited to 'tests/repl/import.check')
-rw-r--r-- | tests/repl/import.check | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/repl/import.check b/tests/repl/import.check index ccaa52190..3ed0fe46c 100644 --- a/tests/repl/import.check +++ b/tests/repl/import.check @@ -1,11 +1,11 @@ scala> import collection.mutable._ import collection.mutable._ scala> val buf = new ListBuffer[Int] -buf: scala.collection.mutable.ListBuffer[Int] = ListBuffer() +val buf: scala.collection.mutable.ListBuffer[Int] = ListBuffer() scala> buf += 22 -res0: scala.collection.mutable.ListBuffer[Int] = ListBuffer(22) +val res0: scala.collection.mutable.ListBuffer[Int] = ListBuffer(22) scala> buf ++= List(1, 2, 3) -res1: scala.collection.mutable.ListBuffer[Int] = ListBuffer(22, 1, 2, 3) +val res1: scala.collection.mutable.ListBuffer[Int] = ListBuffer(22, 1, 2, 3) scala> buf.toList -res2: scala.collection.immutable.List[Int] = List(22, 1, 2, 3) +val res2: scala.collection.immutable.List[Int] = List(22, 1, 2, 3) scala> :quit |