Commit 62ddaf8f authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

kernel32/tests: On Windows 8 IdnToNameprepUnicode() returns a different error…

kernel32/tests: On Windows 8 IdnToNameprepUnicode() returns a different error for invalid parameters.
parent 62122b66
......@@ -3244,7 +3244,8 @@ static void test_IdnToNameprepUnicode(void)
ret = pIdnToNameprepUnicode(4, NULL, 0, NULL, 0);
err = GetLastError();
ok(ret == 0, "ret = %d\n", ret);
ok(err == ERROR_INVALID_FLAGS, "err = %d\n", err);
ok(err == ERROR_INVALID_FLAGS || err == ERROR_INVALID_PARAMETER /* Win8 */,
"err = %d\n", err);
for (i=0; i<sizeof(test_data)/sizeof(*test_data); i++)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment