From a068ab0cceaf3b68c731bfd8384ddf352f0f2795 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Mon, 24 Jun 2013 07:21:05 +0100 Subject: 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". --- t/test-custodian-parser.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1