shlwapi/tests: Remove SHFormatDateTimeA() crash test.

SHFormatDateTimeA() crashes when given a NULL input pointer which is not
really useful to know.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Francois Gouget 2021-09-01 11:53:35 +02:00 committed by Alexandre Julliard
parent b1f4423bc1
commit 7284348985

View file

@ -1674,12 +1674,6 @@ static void test_SHFormatDateTimeA(void)
DWORD flags;
INT ret;
if (0)
{
/* crashes on native */
pSHFormatDateTimeA(NULL, NULL, NULL, 0);
}
GetLocalTime(&st);
SystemTimeToFileTime(&st, &filetime);
/* SHFormatDateTime expects input as utc */