summaryrefslogtreecommitdiff
path: root/testsuite/tests/warnings/should_compile/all.T
diff options
context:
space:
mode:
authorDavid Luposchainsky <dluposchainsky@gmail.com>2015-12-17 12:17:32 +0100
committerBen Gamari <ben@smart-cactus.org>2015-12-17 12:54:32 +0100
commit4f870f8481b2611619adf66d61eff06f02e3741f (patch)
tree9af21d344bb783b7eb69cb9e1ef4d0e400fd267f /testsuite/tests/warnings/should_compile/all.T
parente58a9361ac7e3699e298aa5c99398a21ac732500 (diff)
downloadhaskell-4f870f8481b2611619adf66d61eff06f02e3741f.tar.gz
Conditionally show plural "s" in warnings
Redundant constraints and defaulting warnings had "constraint(s)" in their messages; the "s" is now conditional based on the number of things warned about. Reviewers: hvr, austin, bgamari Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1647
Diffstat (limited to 'testsuite/tests/warnings/should_compile/all.T')
-rw-r--r--testsuite/tests/warnings/should_compile/all.T1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/tests/warnings/should_compile/all.T b/testsuite/tests/warnings/should_compile/all.T
index f60468e6ca..a2b1860ba4 100644
--- a/testsuite/tests/warnings/should_compile/all.T
+++ b/testsuite/tests/warnings/should_compile/all.T
@@ -7,6 +7,7 @@ test('T9230', normal, compile_without_flag('-fno-warn-tabs'), [''])
test('T10908', normal, compile, [''])
test('T11077', normal, compile, ['-fwarn-missing-exported-sigs'])
test('T11128', normal, compile, [''])
+test('PluralS', normal, compile, [''])
test('DeprU',
extra_clean([