Alistair Leslie-Hughes : msxml3: Correct test.

Alexandre Julliard julliard at winehq.org
Mon Sep 15 06:54:58 CDT 2008


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

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Sat Sep 13 22:13:50 2008 +1000

msxml3: Correct test.

---

 dlls/msxml3/tests/domdoc.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/dlls/msxml3/tests/domdoc.c b/dlls/msxml3/tests/domdoc.c
index 2bff372..c927274 100644
--- a/dlls/msxml3/tests/domdoc.c
+++ b/dlls/msxml3/tests/domdoc.c
@@ -1669,10 +1669,7 @@ static void test_get_text(void)
 
     r = IXMLDOMNode_get_text( node, &str );
     ok( r == S_OK, "ret %08x\n", r );
-todo_wine {
-    ok( !memcmp(str, szfn1_txt, sizeof(szfn1_txt)), "wrong string\n" );
- }
-    ok( !memcmp(str, szfn1_txt, sizeof(szfn1_txt)-4), "wrong string\n" );
+    ok( !memcmp(str, szfn1_txt, lstrlenW(szfn1_txt) ), "wrong string\n" );
     SysFreeString(str);
 
     r = IXMLDOMNode_get_attributes( node, &node_map );




More information about the wine-cvs mailing list