aboutsummaryrefslogtreecommitdiff
path: root/tests/repl/imports.check
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2016-09-19 20:00:44 +0200
committerFelix Mulder <felix.mulder@gmail.com>2016-10-10 13:25:34 +0200
commit1532c82788ab2366df04cac2e418d3db98390ef4 (patch)
treecf77d386016cc442c161d7fce347b7fd4e89e3a6 /tests/repl/imports.check
parente24289ac19a21c6b3794d02e8fe42766224f173c (diff)
downloaddotty-1532c82788ab2366df04cac2e418d3db98390ef4.tar.gz
dotty-1532c82788ab2366df04cac2e418d3db98390ef4.tar.bz2
dotty-1532c82788ab2366df04cac2e418d3db98390ef4.zip
Remove duplication of console reporters
Diffstat (limited to 'tests/repl/imports.check')
-rw-r--r--tests/repl/imports.check22
1 files changed, 12 insertions, 10 deletions
diff --git a/tests/repl/imports.check b/tests/repl/imports.check
index 50b7a93d7..f9e48c011 100644
--- a/tests/repl/imports.check
+++ b/tests/repl/imports.check
@@ -7,16 +7,18 @@ defined module o
scala> import o._
import o._
scala> buf += xs
-<console>:11: Error: type mismatch:
-found: scala.collection.immutable.List[Int](o.xs)
-required: String
-buf += xs
- ^
-<console>:11: Error: type mismatch:
-found: String
-required: scala.collection.mutable.ListBuffer[Int]
-buf += xs
-^
+-- Error: <console> ------------------------------------------------------------
+10:buf += xs
+ ^^
+ type mismatch:
+ found: scala.collection.immutable.List[Int](o.xs)
+ required: String
+-- Error: <console> ------------------------------------------------------------
+10:buf += xs
+ ^^^^^^^^^
+ type mismatch:
+ found: String
+ required: scala.collection.mutable.ListBuffer[Int]
scala> buf ++= xs
res1: scala.collection.mutable.ListBuffer[Int] = ListBuffer(1, 2, 3)
scala> :quit