Zhiyi Zhang (@zhiyi) commented about dlls/kernel32/tests/file.c:
wcscpy(long_path_1, L"\\\\?\\");
wcscat(long_path_1, temp_path);
wcscat(long_path_1, a);
SetLastError(0xdeadbeef);
ret = DeleteFileW(long_path_1);
todo_wine ok(ret, "DeleteFileW: error %ld\n", GetLastError());
wcscpy(long_path_2, L"\\\\?\\");
wcscat(long_path_2, temp_path);
wcscat(long_path_2, b);
SetLastError(0xdeadbeef);
ret = DeleteFileW(long_path_2);
todo_wine ok(ret, "DeleteFileW: error %ld\n", GetLastError());
- }
- ret = DeleteFileW(NULL);
This test doesn't belong here. Move it to test_DeleteFileW() and another patch.