Module: wine Branch: master Commit: 884c6ddd516478a94cd4e42ff5510ad226e69bde URL: http://source.winehq.org/git/wine.git/?a=commit;h=884c6ddd516478a94cd4e42ff5...
Author: Alistair Leslie-Hughes leslie_alistair@hotmail.com Date: Wed Oct 4 04:40:22 2017 +0000
oleaut32/tests: Add VarDateFromStr test.
Signed-off-by: Alistair Leslie-Hughes leslie_alistair@hotmail.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
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 a6f9ae5..be6ec91 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 */