Commit b0ef7b40 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

wininet: Skip some urlcache Unicode tests if ANSI version of URL is not known.

parent 38a362a2
......@@ -893,6 +893,10 @@ static void test_urlcacheW(void)
ret = GetUrlCacheEntryInfoA(urls[i].encoded_url, NULL, &size);
ok(!ret && GetLastError()==ERROR_INSUFFICIENT_BUFFER,
"%d) GetLastError() = %d\n", i, GetLastError());
if(!ret && GetLastError()!=ERROR_INSUFFICIENT_BUFFER) {
win_skip("ANSI version of url is incorrect\n");
continue;
}
entry_infoA = HeapAlloc(GetProcessHeap(), 0, size);
ret = GetUrlCacheEntryInfoA(urls[i].encoded_url, entry_infoA, &size);
ok(ret, "%d) GetUrlCacheEntryInfoA failed: %d\n", i, GetLastError());
......
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