summaryrefslogtreecommitdiff
path: root/test/files/neg
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@typesafe.com>2014-07-03 13:40:55 +0200
committerAdriaan Moors <adriaan.moors@typesafe.com>2014-07-04 15:49:08 +0200
commitb384d5070f86e9003e8f1b57cc818520033242ab (patch)
treef511cd45fd3e7783c8b124df3863d1317a8b5af9 /test/files/neg
parent3066bd4c7b2f574748208b7399c68c6c6493206b (diff)
downloadscala-b384d5070f86e9003e8f1b57cc818520033242ab.tar.gz
scala-b384d5070f86e9003e8f1b57cc818520033242ab.tar.bz2
scala-b384d5070f86e9003e8f1b57cc818520033242ab.zip
Use countElementsAsString for summarized warnings.
Diffstat (limited to 'test/files/neg')
-rw-r--r--test/files/neg/checksensible.check2
-rw-r--r--test/files/neg/overloaded-implicit.check2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/checksensible.check b/test/files/neg/checksensible.check
index 1b53fa5fb9..7de22fef54 100644
--- a/test/files/neg/checksensible.check
+++ b/test/files/neg/checksensible.check
@@ -97,7 +97,7 @@ checksensible.scala:84: warning: comparing values of types EqEqRefTest.this.C3 a
checksensible.scala:95: warning: comparing values of types Unit and Int using `!=' will always yield true
while ((c = in.read) != -1)
^
-warning: there were 3 deprecation warnings; re-run with -deprecation for details
+warning: there were three deprecation warnings; re-run with -deprecation for details
error: No warnings can be incurred under -Xfatal-warnings.
34 warnings found
one error found
diff --git a/test/files/neg/overloaded-implicit.check b/test/files/neg/overloaded-implicit.check
index 5cf6ac528b..0e6617d904 100644
--- a/test/files/neg/overloaded-implicit.check
+++ b/test/files/neg/overloaded-implicit.check
@@ -4,7 +4,7 @@ overloaded-implicit.scala:2: warning: parameterized overloaded implicit methods
overloaded-implicit.scala:3: warning: parameterized overloaded implicit methods are not visible as view bounds
implicit def imp1[T](x: Set[T]): Map[T, T] = Map()
^
-warning: there were 4 feature warnings; re-run with -feature for details
+warning: there were four feature warnings; re-run with -feature for details
error: No warnings can be incurred under -Xfatal-warnings.
three warnings found
one error found