[PATCH] oleaut32: Add VarDateFromStr test
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Tue Oct 3 23:40:22 CDT 2017
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
dlls/oleaut32/tests/vartype.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/oleaut32/tests/vartype.c b/dlls/oleaut32/tests/vartype.c
index a6f9ae5c79..be6ec91e9a 100644
--- a/dlls/oleaut32/tests/vartype.c
+++ b/dlls/oleaut32/tests/vartype.c
@@ -3109,6 +3109,8 @@ static void test_VarDateFromStr(void)
DFS("6/30/2011 01:20:34"); EXPECT_DBL(40724.05594907407);
DFS("6/30/2011 01:20:34 AM"); EXPECT_DBL(40724.05594907407);
DFS("6/30/2011 01:20:34 PM"); EXPECT_DBL(40724.55594907407);
+ DFS("2013-05-14 02:04:12"); EXPECT_DBL(41408.08625000001);
+ DFS("2013-05-14 02:04:12.017000000"); EXPECT_MISMATCH;
/* Native fails "1999 January 3, 9AM". I consider that a bug in native */
/* test a data with ideographic space */
--
2.14.2
More information about the wine-patches
mailing list