Commit f2f44de6 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

kernel/tests: Wrong error code checked.

parent 2bd9c59c
......@@ -1214,7 +1214,9 @@ static void test_FindFirstFileA(void)
handle = FindFirstFileA(buffer2, &search_results);
err = GetLastError();
ok ( handle == INVALID_HANDLE_VALUE, "FindFirstFile on %s should Fail\n", buffer2 );
ok ( err == ERROR_FILE_NOT_FOUND, "Bad Error number %d\n", err );
todo_wine {
ok ( err == ERROR_PATH_NOT_FOUND, "Bad Error number %d\n", err );
}
/* try FindFirstFileA on "C:\foo\bar.txt" */
SetLastError( 0xdeadbeaf );
......
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