diff options
author | Felix Mulder <felix.mulder@gmail.com> | 2016-09-29 15:45:46 +0200 |
---|---|---|
committer | Felix Mulder <felix.mulder@gmail.com> | 2016-10-10 13:25:36 +0200 |
commit | 0781b31fa4e3d22cb6a51882b8d632ea9a16ed6f (patch) | |
tree | d0b89359d2af440640e457f04d6d6a945251a592 /tests/repl/imports.check | |
parent | a0026a09d76c09266c368c7a07a0cc2c5994367e (diff) | |
download | dotty-0781b31fa4e3d22cb6a51882b8d632ea9a16ed6f.tar.gz dotty-0781b31fa4e3d22cb6a51882b8d632ea9a16ed6f.tar.bz2 dotty-0781b31fa4e3d22cb6a51882b8d632ea9a16ed6f.zip |
Handle multiline messages in ConsoleReporter
Diffstat (limited to 'tests/repl/imports.check')
-rw-r--r-- | tests/repl/imports.check | 16 |
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 |