summaryrefslogtreecommitdiff
path: root/test/files/neg/sealed-java-enums.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/sealed-java-enums.check')
-rw-r--r--test/files/neg/sealed-java-enums.check8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/files/neg/sealed-java-enums.check b/test/files/neg/sealed-java-enums.check
index 9303c2df9c..20d00c8e91 100644
--- a/test/files/neg/sealed-java-enums.check
+++ b/test/files/neg/sealed-java-enums.check
@@ -1,9 +1,5 @@
-sealed-java-enums.scala:5: error: match is not exhaustive!
-missing combination BLOCKED
-missing combination State
-missing combination TERMINATED
-missing combination TIMED_WAITING
-
+sealed-java-enums.scala:5: error: match may not be exhaustive.
+It would fail on the following inputs: BLOCKED, TERMINATED, TIMED_WAITING
def f(state: State) = state match {
^
one error found