oleaut32/tests: add a test for DosTime
André Hentschel
nerv at dawncrow.de
Wed Jan 27 13:02:43 CST 2010
---
dlls/oleaut32/tests/vartest.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/oleaut32/tests/vartest.c b/dlls/oleaut32/tests/vartest.c
index 05f4be3..16c08be 100644
--- a/dlls/oleaut32/tests/vartest.c
+++ b/dlls/oleaut32/tests/vartest.c
@@ -1759,7 +1759,8 @@ static void test_DosDateTimeToVariantTime(void)
DOS2DT(1,1,1980,0,0,29,1,29221.00032407407); /* 1/1/1980 12:00:28 AM */
DOS2DT(1,1,1980,0,0,31,1,29221.00034722222); /* 1/1/1980 12:00:30 AM */
DOS2DT(1,1,1980,0,59,0,1,29221.04097222222); /* 1/1/1980 12:59:00 AM */
- DOS2DT(1,1,1980,0,60,0,0,0.0); /* Invalid seconds */
+ DOS2DT(1,1,1980,0,60,0,0,0.0); /* Invalid minutes */
+ DOS2DT(1,1,1980,0,0,60,0,0.0); /* Invalid seconds */
DOS2DT(1,1,1980,23,0,0,1,29221.95833333333); /* 1/1/1980 11:00:00 PM */
DOS2DT(1,1,1980,24,0,0,0,0.0); /* Invalid hours */
}
--
Best Regards, André Hentschel
More information about the wine-patches
mailing list