diff --git a/test/TimeTest.cc b/test/TimeTest.cc index 0a56f21d..048b5a1b 100644 --- a/test/TimeTest.cc +++ b/test/TimeTest.cc @@ -131,7 +131,7 @@ void TimeTest::testElapsed() CPPUNIT_ASSERT(!Time(tv).elapsed(1)); } { - struct timeval tv = { now.tv_sec-1, now.tv_usec }; + struct timeval tv = { now.tv_sec-2, now.tv_usec }; CPPUNIT_ASSERT(Time(tv).elapsed(1)); } }