aboutsummaryrefslogtreecommitdiff
path: root/tests/repl/import.check
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2016-11-24 15:03:54 +0100
committerFelix Mulder <felix.mulder@gmail.com>2016-11-24 15:03:54 +0100
commitb33c962f23eb6abc2708184a6a344485c24c444d (patch)
treed9ccb0e462aa8283ad0ce27669c93ca714c5e594 /tests/repl/import.check
parentccc671bed8ee57542652e5c79ef556452784b2cd (diff)
downloaddotty-b33c962f23eb6abc2708184a6a344485c24c444d.tar.gz
dotty-b33c962f23eb6abc2708184a6a344485c24c444d.tar.bz2
dotty-b33c962f23eb6abc2708184a6a344485c24c444d.zip
Update tests fixing contributor PR
Diffstat (limited to 'tests/repl/import.check')
-rw-r--r--tests/repl/import.check8
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