urlmon/tests: Fixed bug in tests where the wrong value is checked.
This commit is contained in:
parent
3395c5623a
commit
b5939f68ef
@ -6448,7 +6448,7 @@ static void test_IUriBuilder_CreateUriSimple(IUriBuilder *builder, const uri_bui
|
|||||||
IUri *uri = NULL;
|
IUri *uri = NULL;
|
||||||
|
|
||||||
hr = IUriBuilder_CreateUriSimple(builder, test->uri_simple_encode_flags, 0, &uri);
|
hr = IUriBuilder_CreateUriSimple(builder, test->uri_simple_encode_flags, 0, &uri);
|
||||||
if(test->uri_todo) {
|
if(test->uri_simple_todo) {
|
||||||
todo_wine {
|
todo_wine {
|
||||||
ok(hr == test->uri_simple_hres,
|
ok(hr == test->uri_simple_hres,
|
||||||
"Error: IUriBuilder_CreateUriSimple returned 0x%08x, expected 0x%08x on uri_builder_tests[%d].\n",
|
"Error: IUriBuilder_CreateUriSimple returned 0x%08x, expected 0x%08x on uri_builder_tests[%d].\n",
|
||||||
@ -6536,7 +6536,7 @@ static void test_IUriBuilder_CreateUriWithFlags(IUriBuilder *builder, const uri_
|
|||||||
|
|
||||||
hr = IUriBuilder_CreateUriWithFlags(builder, test->uri_with_flags, test->uri_with_builder_flags,
|
hr = IUriBuilder_CreateUriWithFlags(builder, test->uri_with_flags, test->uri_with_builder_flags,
|
||||||
test->uri_with_encode_flags, 0, &uri);
|
test->uri_with_encode_flags, 0, &uri);
|
||||||
if(test->uri_todo) {
|
if(test->uri_with_todo) {
|
||||||
todo_wine {
|
todo_wine {
|
||||||
ok(hr == test->uri_with_hres,
|
ok(hr == test->uri_with_hres,
|
||||||
"Error: IUriBuilder_CreateUriWithFlags returned 0x%08x, expected 0x%08x on uri_builder_tests[%d].\n",
|
"Error: IUriBuilder_CreateUriWithFlags returned 0x%08x, expected 0x%08x on uri_builder_tests[%d].\n",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user