Thomas Mullaly : urlmon/tests: Fixed bug in tests where the wrong value is checked.

Alexandre Julliard julliard at winehq.org
Sat Sep 18 07:42:20 CDT 2010


Module: wine
Branch: master
Commit: b5939f68ef267936796c83ec511f52e74ccf0cf4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b5939f68ef267936796c83ec511f52e74ccf0cf4

Author: Thomas Mullaly <thomas.mullaly at gmail.com>
Date:   Thu Sep 16 20:06:11 2010 -0400

urlmon/tests: Fixed bug in tests where the wrong value is checked.

---

 dlls/urlmon/tests/uri.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/urlmon/tests/uri.c b/dlls/urlmon/tests/uri.c
index 191dfcd..e39c410 100644
--- a/dlls/urlmon/tests/uri.c
+++ b/dlls/urlmon/tests/uri.c
@@ -6448,7 +6448,7 @@ static void test_IUriBuilder_CreateUriSimple(IUriBuilder *builder, const uri_bui
     IUri *uri = NULL;
 
     hr = IUriBuilder_CreateUriSimple(builder, test->uri_simple_encode_flags, 0, &uri);
-    if(test->uri_todo) {
+    if(test->uri_simple_todo) {
         todo_wine {
             ok(hr == test->uri_simple_hres,
                 "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,
                                         test->uri_with_encode_flags, 0, &uri);
-    if(test->uri_todo) {
+    if(test->uri_with_todo) {
         todo_wine {
             ok(hr == test->uri_with_hres,
                 "Error: IUriBuilder_CreateUriWithFlags returned 0x%08x, expected 0x%08x on uri_builder_tests[%d].\n",




More information about the wine-cvs mailing list