From 56d5332285069769986e665a44ea68451f67053b Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Wed, 18 Jun 2008 21:40:06 +1000 Subject: [PATCH] msxml3: Improved checking of failed case. --- dlls/msxml3/tests/xmlelem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msxml3/tests/xmlelem.c b/dlls/msxml3/tests/xmlelem.c index 5c80f7c5ca0..71d9027efae 100644 --- a/dlls/msxml3/tests/xmlelem.c +++ b/dlls/msxml3/tests/xmlelem.c @@ -287,7 +287,7 @@ static void test_xmlelem_collection(void) ok(hr == S_OK || hr == ERROR_URL_NOT_FOUND, "Expected S_OK, got 0x%08x\n", hr); SysFreeString(url); - if(hr == ERROR_URL_NOT_FOUND) + if(hr != S_OK) goto cleanup; hr = IXMLDocument_get_root(doc, &element);