fix unit-test (copy&paste-bug in the times)
authorGerd von Egidy <gerd.von.egidy@intra2net.com>
Tue, 3 Feb 2009 08:46:32 +0000 (09:46 +0100)
committerGerd von Egidy <gerd.von.egidy@intra2net.com>
Tue, 3 Feb 2009 08:46:32 +0000 (09:46 +0100)
test/test_cron.cpp

index 239dafd..233829f 100644 (file)
@@ -564,7 +564,7 @@ public:
         WeekCron cron("0123456",9000,18000,60);
         // calc at: Sun Oct 26 02:59:59 CEST 2008
         // expected next run: Sun Oct 26 02:00:00 CET 2008
-        CPPUNIT_ASSERT_EQUAL( static_cast<time_t>(1224979200), cron.get_next_run(1224979199));
+        CPPUNIT_ASSERT_EQUAL( static_cast<time_t>(1224982800), cron.get_next_run(1224982799));
     }
 
     void IntervalOutFirstDSTBackwards4()