oleaut32/tests: Add VarDateFromStr test.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alistair Leslie-Hughes 2017-10-04 04:40:22 +00:00 committed by Alexandre Julliard
parent 6d62904497
commit 884c6ddd51

View file

@ -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 */