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 | a068ab0cceaf3b68c731bfd8384ddf352f0f2795 (patch) | |
tree | e09ffdd616d037473b563481cb7dd5686408569b /t | |
parent | 044f1e3bee8ddf51b319293744ca43145b4ba33f (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 |