summaryrefslogtreecommitdiff
path: root/test/files/neg/t2442.check
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@epfl.ch>2012-06-27 11:14:24 +0200
committerAdriaan Moors <adriaan.moors@epfl.ch>2012-06-27 12:12:40 +0200
commit22834ee32e8471a8ab33e194d7469686d60ef7d5 (patch)
treee6094cd08646d5ddb9901c9af20a6cad3b18fb3c /test/files/neg/t2442.check
parent966c9bbebec78b90a79f72c73b55d9de6db34798 (diff)
downloadscala-22834ee32e8471a8ab33e194d7469686d60ef7d5.tar.gz
scala-22834ee32e8471a8ab33e194d7469686d60ef7d5.tar.bz2
scala-22834ee32e8471a8ab33e194d7469686d60ef7d5.zip
make tests independent of compiler api
TODO: t5899 should also be refactored, but I couldn't figure out how I tried the obvious Cake Light pattern with abstract types etc, but that didn't trigger it there must be something with indirection through paths as well
Diffstat (limited to 'test/files/neg/t2442.check')
-rw-r--r--test/files/neg/t2442.check6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/files/neg/t2442.check b/test/files/neg/t2442.check
index b45ce3a2f5..714816fd62 100644
--- a/test/files/neg/t2442.check
+++ b/test/files/neg/t2442.check
@@ -2,4 +2,8 @@ t2442.scala:4: error: match may not be exhaustive.
It would fail on the following input: THREE
def f(e: MyEnum) = e match {
^
-one error found
+t2442.scala:11: error: match may not be exhaustive.
+It would fail on the following input: BLUE
+ def g(e: MySecondEnum) = e match {
+ ^
+two errors found