diff options
author | Greg Sabino Mullane | 2009-08-23 13:29:03 +0000 |
---|---|---|
committer | Greg Sabino Mullane | 2009-08-23 13:29:03 +0000 |
commit | cd1fa2161cf77eb67fee87c84942edc5457588c9 (patch) | |
tree | 6beb8cab8aaddacc5cb26d324775818adf1de1fc | |
parent | c4f4bd82990695cea9c6111b446af4ae84802d1e (diff) |
Fix test for new warning > critical logic
-rw-r--r-- | t/02_replicate_row.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/02_replicate_row.t b/t/02_replicate_row.t index 0527f145a..f39871825 100644 --- a/t/02_replicate_row.t +++ b/t/02_replicate_row.t @@ -52,8 +52,8 @@ like ($cp->run('-w foo'), qr{ERROR:.+'warning' must be a valid time}, $t); $t=qq{$S fails when called with invalid critical}; like ($cp->run('-c foo'), qr{ERROR:.+'critical' must be a valid time}, $t); -$t=qq{$S fails when critical is greater than warning time}; -like ($cp->run('-w 22 -c 44'), qr{ERROR:.+'warning' option cannot be less}, $t); +$t=qq{$S fails when warning is greater than critical time}; +like ($cp->run('-w 44 -c 22'), qr{ERROR:.+'warning' option .+ cannot be larger}, $t); $t=qq{$S fails when called with no repinfo argument}; like ($cp->run('-w 2'), qr{ERROR: Need a repinfo}, $t); |