diff options
author | Steve Kemp <steve@steve.org.uk> | 2013-06-24 07:21:05 +0100 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2013-06-24 07:21:05 +0100 |
commit | 1e27c60e5db7297948f80c9134b1bf5153b19c69 (patch) | |
tree | 682e66aa0822563def15b8143391228de531a6ae /t | |
parent | e74a04c79c5929250fa2afbabc71919d9e3853c6 (diff) |
Avoid using a bogus timeperiod.
Our utility class for parsing time-spans uses 00-23, rather than 00-24.
Update the use of the time-period to avoid the bogus "24 hour".
Diffstat (limited to 't')
-rwxr-xr-x | t/test-custodian-parser.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/test-custodian-parser.rb b/t/test-custodian-parser.rb index f982b10..9dadeeb 100755 --- a/t/test-custodian-parser.rb +++ b/t/test-custodian-parser.rb @@ -51,7 +51,7 @@ class TestCustodianParser < Test::Unit::TestCase def test_period parser = Custodian::Parser.new() - result = parser.parse_line( "example.vm.bytemark.co.uk must run ping except between 00-24" ) + result = parser.parse_line( "example.vm.bytemark.co.uk must run ping except between 00-23" ) assert( result.nil? ) end |