From 8b648bc690e69c9888cbfb1e7ddf85776895382d Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 8 Feb 2015 13:18:23 -0500 Subject: [PATCH] Unit Tests - Reduced hh from 99:00:00 to 95:00:00, because with the +01:00 it becomes 100:00:00, and '100' exceeds Nibbler::getDigit2. --- test/datetime-negative.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/datetime-negative.t b/test/datetime-negative.t index 139aeae53..0f98e987e 100755 --- a/test/datetime-negative.t +++ b/test/datetime-negative.t @@ -334,7 +334,7 @@ class TestIncorrectTime(BaseDateTimeNegativeTest): # self.assertInvalidDatetimeFormat('24:00:00+01:00') def test_set_incorrect_datetime_huge_hour_overflow_in_hh_mm_ss_plus_hh_mm(self): - self.assertInvalidDatetimeFormat('99:00:00+01:00') + self.assertInvalidDatetimeFormat('95:00:00+01:00') # def test_set_incorrect_datetime_minute_overflow_in_hh_mm_ss_plus_hh_mm(self): # self.assertInvalidDatetimeFormat('12:60:00+01:00') @@ -373,7 +373,7 @@ class TestIncorrectTime(BaseDateTimeNegativeTest): # self.assertInvalidDatetimeFormat('24:00:00-01:00') def test_set_incorrect_datetime_huge_hour_overflow_in_hh_mm_ss_minus_hh_mm(self): - self.assertInvalidDatetimeFormat('99:00:00-01:00') + self.assertInvalidDatetimeFormat('95:00:00-01:00') # def test_set_incorrect_datetime_minute_overflow_in_hh_mm_ss_minus_hh_mm(self): # self.assertInvalidDatetimeFormat('12:60:00-01:00')