aboutsummaryrefslogtreecommitdiff
path: root/compiler/test/dotty/tools/dotc/reporting/ErrorMessagesTest.scala
diff options
context:
space:
mode:
authorEnno Runne <enno.runne@baymarkets.com>2017-02-14 21:16:47 +0100
committerEnno Runne <enno.runne@baymarkets.com>2017-02-14 21:16:47 +0100
commit81cda70db72046901e8ca5f8c958224cafdf1bf4 (patch)
tree71c00946da2050fdafa2349e6bc3891237b0b0de /compiler/test/dotty/tools/dotc/reporting/ErrorMessagesTest.scala
parent606e36be88c47cd3f2e8856d6bd6b95aed7aa191 (diff)
downloaddotty-81cda70db72046901e8ca5f8c958224cafdf1bf4.tar.gz
dotty-81cda70db72046901e8ca5f8c958224cafdf1bf4.tar.bz2
dotty-81cda70db72046901e8ca5f8c958224cafdf1bf4.zip
Change '... expected but found ...' to Message
Diffstat (limited to 'compiler/test/dotty/tools/dotc/reporting/ErrorMessagesTest.scala')
-rw-r--r--compiler/test/dotty/tools/dotc/reporting/ErrorMessagesTest.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/test/dotty/tools/dotc/reporting/ErrorMessagesTest.scala b/compiler/test/dotty/tools/dotc/reporting/ErrorMessagesTest.scala
index 57d66c60b..9be98ee65 100644
--- a/compiler/test/dotty/tools/dotc/reporting/ErrorMessagesTest.scala
+++ b/compiler/test/dotty/tools/dotc/reporting/ErrorMessagesTest.scala
@@ -65,7 +65,7 @@ trait ErrorMessagesTest extends DottyTest {
}
def assertMessageCount(expected: Int, messages: List[Message]): Unit =
- assertEquals(
+ assertEquals(messages.mkString,
expected,
messages.length
)