mshtml/tests: When a test fails, print the bad value.

This commit is contained in:
Francois Gouget 2011-09-13 17:32:18 +02:00 committed by Alexandre Julliard
parent 8fff969ce6
commit 3b7fb23ca7
1 changed files with 2 additions and 2 deletions

View File

@ -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);