wininet: Create file with correct file name in test_trailing_slash tests.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ba081cab56
commit
493d414cad
|
@ -1086,7 +1086,7 @@ static void test_trailing_slash(void)
|
||||||
ret = CreateUrlCacheEntryA(url_with_slash, 0, "html", filename, 0);
|
ret = CreateUrlCacheEntryA(url_with_slash, 0, "html", filename, 0);
|
||||||
ok(ret, "CreateUrlCacheEntry failed with error %d\n", GetLastError());
|
ok(ret, "CreateUrlCacheEntry failed with error %d\n", GetLastError());
|
||||||
|
|
||||||
create_and_write_file(filenameA, &zero_byte, sizeof(zero_byte));
|
create_and_write_file(filename, &zero_byte, sizeof(zero_byte));
|
||||||
|
|
||||||
ret = CommitUrlCacheEntryA("Visited: http://testing.cache.com/", NULL, filetime_zero, filetime_zero,
|
ret = CommitUrlCacheEntryA("Visited: http://testing.cache.com/", NULL, filetime_zero, filetime_zero,
|
||||||
NORMAL_CACHE_ENTRY, NULL, 0, "html", NULL);
|
NORMAL_CACHE_ENTRY, NULL, 0, "html", NULL);
|
||||||
|
|
Loading…
Reference in New Issue