From 0781b31fa4e3d22cb6a51882b8d632ea9a16ed6f Mon Sep 17 00:00:00 2001 From: Felix Mulder Date: Thu, 29 Sep 2016 15:45:46 +0200 Subject: Handle multiline messages in ConsoleReporter --- tests/repl/imports.check | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'tests/repl/imports.check') 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: ------------------------------------------------------------------------------- -10:buf += xs - ^^ - found: scala.collection.immutable.List[Int](o.xs) - required: String - --- [E006] Type Mismatch Error: ------------------------------------------------------------------------------- -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 -- cgit v1.2.3