aboutsummaryrefslogtreecommitdiff
path: root/tests/repl/imports.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/repl/imports.check')
-rw-r--r--tests/repl/imports.check16
1 files changed, 5 insertions, 11 deletions
diff --git a/tests/repl/imports.check b/tests/repl/imports.check
index 2e8d5dcf9..9743d2b94 100644
--- a/tests/repl/imports.check
+++ b/tests/repl/imports.check
@@ -8,17 +8,11 @@ scala> import o._
import o._
scala> buf += xs
-- [E006] Type Mismatch Error: <console> -------------------------------------------------------------------------------
-10:buf += xs
- ^^
- found: scala.collection.immutable.List[Int](o.xs)
- required: String
-
--- [E006] Type Mismatch Error: <console> -------------------------------------------------------------------------------
-10:buf += xs
- ^^^^^^^^^
- found: String
- required: scala.collection.mutable.ListBuffer[Int]
-
+11 |buf += xs
+ | ^^
+ | found: scala.collection.immutable.List[Int](o.xs)
+ | required: String
+ |
scala> buf ++= xs
res1: scala.collection.mutable.ListBuffer[Int] = ListBuffer(1, 2, 3)
scala> :quit