summaryrefslogtreecommitdiffstats
path: root/calendar/kde
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/kde')
-rw-r--r--calendar/kde/kdelibs/kdecore/tests/kcalendartest.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/calendar/kde/kdelibs/kdecore/tests/kcalendartest.cpp b/calendar/kde/kdelibs/kdecore/tests/kcalendartest.cpp
index 5e2a7f1..14c9df2 100644
--- a/calendar/kde/kdelibs/kdecore/tests/kcalendartest.cpp
+++ b/calendar/kde/kdelibs/kdecore/tests/kcalendartest.cpp
@@ -141,14 +141,14 @@ void KCalendarTest::testIndic()
QCOMPARE( calendar->daysInYear(newDate), 365 );
newDate = calendar->addMonths( testDate, -4 );
- QCOMPARE( newDate.year(), 1999 );
- QCOMPARE( newDate.month(), 11 );
- QCOMPARE( newDate.day(), 1 );
+ QCOMPARE( newDate.year(), 2078 );
+ QCOMPARE( newDate.month(), 1 );
+ QCOMPARE( newDate.day(), 21 );
newDate = calendar->addDays( newDate, 20 );
- QCOMPARE( newDate.year(), 1999 );
- QCOMPARE( newDate.month(), 11 );
- QCOMPARE( newDate.day(), 21 );
+ QCOMPARE( newDate.year(), 2078 );
+ QCOMPARE( newDate.month(), 2 );
+ QCOMPARE( newDate.day(), 10 );
}