aboutsummaryrefslogtreecommitdiff
path: root/tests/repl/imports.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/imports.check
parentccc671bed8ee57542652e5c79ef556452784b2cd (diff)
downloaddotty-b33c962f23eb6abc2708184a6a344485c24c444d.tar.gz
dotty-b33c962f23eb6abc2708184a6a344485c24c444d.tar.bz2
dotty-b33c962f23eb6abc2708184a6a344485c24c444d.zip
Update tests fixing contributor PR
Diffstat (limited to 'tests/repl/imports.check')
-rw-r--r--tests/repl/imports.check4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/repl/imports.check b/tests/repl/imports.check
index 7e078fe00..5260589a9 100644
--- a/tests/repl/imports.check
+++ b/tests/repl/imports.check
@@ -1,7 +1,7 @@
scala> import scala.collection.mutable
import scala.collection.mutable
scala> val buf = mutable.ListBuffer[Int]()
-buf: scala.collection.mutable.ListBuffer[Int] = ListBuffer()
+val buf: scala.collection.mutable.ListBuffer[Int] = ListBuffer()
scala> object o { val xs = List(1, 2, 3) }
defined module o
scala> import o._
@@ -14,7 +14,7 @@ scala> buf += xs
| required: String
|
scala> buf ++= xs
-res1: scala.collection.mutable.ListBuffer[Int] = ListBuffer(1, 2, 3)
+val res1: scala.collection.mutable.ListBuffer[Int] = ListBuffer(1, 2, 3)
scala> import util.foo
-- Error: <console> ------------------------------------------------------------
8 |import util.foo