summaryrefslogtreecommitdiff
path: root/test/files/neg/t284.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t284.check')
-rw-r--r--test/files/neg/t284.check8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/files/neg/t284.check b/test/files/neg/t284.check
index 37801af1b5..7c2e9be03e 100644
--- a/test/files/neg/t284.check
+++ b/test/files/neg/t284.check
@@ -1,8 +1,6 @@
t284.scala:2: warning: Detected apparent refinement of Unit; are you missing an '=' sign?
- def f1(a: T): Unit { }
- ^
-t284.scala:5: error: Unmatched closing brace '}' ignored here
- }
- ^
+ def f1(a: T): Unit { }
+ ^
+error: No warnings can be incurred under -Xfatal-warnings.
one warning found
one error found