summaryrefslogtreecommitdiff
path: root/test/files/neg/t3015.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t3015.check')
-rw-r--r--test/files/neg/t3015.check5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/files/neg/t3015.check b/test/files/neg/t3015.check
index 6948392bb0..4a03c940f4 100644
--- a/test/files/neg/t3015.check
+++ b/test/files/neg/t3015.check
@@ -3,4 +3,7 @@ t3015.scala:7: error: scrutinee is incompatible with pattern type;
required: String
val b(foo) = "foo"
^
-one error found
+error: type mismatch;
+ found : _$1
+ required: String
+two errors found