aboutsummaryrefslogtreecommitdiff
path: root/compiler/test/dotty/tools/dotc/reporting/ErrorMessagesTests.scala
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2017-02-10 21:24:24 +0100
committerGitHub <noreply@github.com>2017-02-10 21:24:24 +0100
commite360c2a57ca679588fa2116309c44f2b17902b4e (patch)
treea4ba08048684844796b6be0d5661a0194d0a5081 /compiler/test/dotty/tools/dotc/reporting/ErrorMessagesTests.scala
parentb5a9c8c4d1f832f2cc024f9cfe855d6e57bd35f9 (diff)
parentdaf21a77387ebfeeed40c4c4f985b16bcd70afaa (diff)
downloaddotty-e360c2a57ca679588fa2116309c44f2b17902b4e.tar.gz
dotty-e360c2a57ca679588fa2116309c44f2b17902b4e.tar.bz2
dotty-e360c2a57ca679588fa2116309c44f2b17902b4e.zip
Merge pull request #1967 from ennru/ennru_AwsomeErrorMessages
Support expecting compiler errors from all phases
Diffstat (limited to 'compiler/test/dotty/tools/dotc/reporting/ErrorMessagesTests.scala')
-rw-r--r--compiler/test/dotty/tools/dotc/reporting/ErrorMessagesTests.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/test/dotty/tools/dotc/reporting/ErrorMessagesTests.scala b/compiler/test/dotty/tools/dotc/reporting/ErrorMessagesTests.scala
index 59391cf90..f43d559d4 100644
--- a/compiler/test/dotty/tools/dotc/reporting/ErrorMessagesTests.scala
+++ b/compiler/test/dotty/tools/dotc/reporting/ErrorMessagesTests.scala
@@ -12,11 +12,11 @@ class ErrorMessagesTests extends ErrorMessagesTest {
// In the case where there are no errors, we can do "expectNoErrors" in the
// `Report`
@Test def noErrors =
- checkMessages("""class Foo""")
+ checkMessagesAfter("frontend")("""class Foo""")
.expectNoErrors
@Test def typeMismatch =
- checkMessages {
+ checkMessagesAfter("frontend") {
"""
|object Foo {
| def bar: String = 1