Francois Gouget : mshtml/tests: When a test fails, print the bad value.
Alexandre Julliard
julliard at winehq.org
Tue Sep 13 12:18:11 CDT 2011
Module: wine
Branch: master
Commit: 3b7fb23ca7ea3eba28d21fe18db9e1cc773c5e0a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3b7fb23ca7ea3eba28d21fe18db9e1cc773c5e0a
Author: Francois Gouget <fgouget at free.fr>
Date: Tue Sep 13 17:32:18 2011 +0200
mshtml/tests: When a test fails, print the bad value.
---
dlls/mshtml/tests/htmldoc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/mshtml/tests/htmldoc.c b/dlls/mshtml/tests/htmldoc.c
index 7791b73..6676020 100644
--- a/dlls/mshtml/tests/htmldoc.c
+++ b/dlls/mshtml/tests/htmldoc.c
@@ -1620,7 +1620,7 @@ static HRESULT WINAPI InPlaceUIWindow_SetActiveObject(IOleInPlaceFrame *iface,
if(expect_InPlaceUIWindow_SetActiveObject_active) {
ok(pActiveObject != NULL, "pActiveObject = NULL\n");
if(pActiveObject && is_english())
- ok(!lstrcmpW(wszHTML_Document, pszObjName), "pszObjName != \"HTML Document\"\n");
+ ok(!lstrcmpW(wszHTML_Document, pszObjName), "%s != \"HTML Document\"\n", wine_dbgstr_w(pszObjName));
}
else {
ok(pActiveObject == NULL, "pActiveObject=%p, expected NULL\n", pActiveObject);
@@ -1640,7 +1640,7 @@ static HRESULT WINAPI InPlaceFrame_SetActiveObject(IOleInPlaceFrame *iface,
CHECK_EXPECT2(SetActiveObject);
if(pActiveObject && is_english())
- ok(!lstrcmpW(wszHTML_Document, pszObjName), "pszObjName != \"HTML Document\"\n");
+ ok(!lstrcmpW(wszHTML_Document, pszObjName), "%s != \"HTML Document\"\n", wine_dbgstr_w(pszObjName));
}else {
CHECK_EXPECT(SetActiveObject_null);
More information about the wine-cvs
mailing list