From: Greg Sabino Mullane Date: Wed, 22 Apr 2009 21:04:38 +0000 (-0400) Subject: Fix wording. X-Git-Tag: 2.9.0~103 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=b5efdf39a08107c07dce9502edffe368012b63d4;p=check_postgres.git Fix wording. --- diff --git a/t/02_version.t b/t/02_version.t index ed0f9e9d1..eec3dd1ed 100644 --- a/t/02_version.t +++ b/t/02_version.t @@ -30,10 +30,10 @@ like ($cp->run('--output=mrtg --mrtg=foobar'), qr{ERROR: Invalid mrtg}, $t); $t=qq{$S fails when called without warning or critical}; like ($cp->run(''), qr{Must provide}, $t); -$t=qq{$S fails when called without invalid warning}; +$t=qq{$S fails when called with invalid warning}; like ($cp->run('-w foo'), qr{ERROR: Invalid string}, $t); -$t=qq{$S fails when called without invalid critical}; +$t=qq{$S fails when called with invalid critical}; like ($cp->run('-c foo'), qr{ERROR: Invalid string}, $t); $t=qq{$S gives correct output for warning on two-part version};