mirror of
https://github.com/reactos/wine.git
synced 2025-01-19 10:13:01 +00:00
shlwapi: Fix a failing test.
This commit is contained in:
parent
e37755b60c
commit
dff271df3e
@ -481,7 +481,7 @@ static void test_UrlEscape(void)
|
||||
unsigned int i;
|
||||
|
||||
ret = UrlEscapeA("/woningplan/woonkamer basis.swf", NULL, &size, URL_ESCAPE_SPACES_ONLY);
|
||||
ok(ret == E_POINTER, "got %x, expected %x\n", ret, E_POINTER);
|
||||
ok(ret == E_INVALIDARG, "got %x, expected %x\n", ret, E_INVALIDARG);
|
||||
|
||||
for(i=0; i<sizeof(TEST_ESCAPE)/sizeof(TEST_ESCAPE[0]); i++) {
|
||||
test_url_escape(TEST_ESCAPE[i].url, TEST_ESCAPE[i].flags,
|
||||
|
@ -844,7 +844,7 @@ HRESULT WINAPI UrlEscapeA(
|
||||
*pcchEscaped = lenA;
|
||||
} else {
|
||||
*pcchEscaped = lenA + 1;
|
||||
ret = E_POINTER;
|
||||
ret = E_INVALIDARG;
|
||||
}
|
||||
}
|
||||
if(escapedW != bufW) HeapFree(GetProcessHeap(), 0, escapedW);
|
||||
|
Loading…
x
Reference in New Issue
Block a user