mshtml/tests: Actually test a return value.

This commit is contained in:
Michael Stefaniuc 2023-02-02 20:31:10 +01:00 committed by Alexandre Julliard
parent de2ca5e5ae
commit dc31e66e01

View file

@ -3170,7 +3170,7 @@ static void test_doc_obj(IHTMLDocument2 *doc)
ok(!!event_target, "event_target = NULL\n");
bstr = SysAllocString(L"click");
IEventTarget_addEventListener(event_target, bstr, (IDispatch*)&docobj_onclick_obj, TRUE);
hres = IEventTarget_addEventListener(event_target, bstr, (IDispatch*)&docobj_onclick_obj, TRUE);
ok(hres == S_OK, "addEventListener failed: %08lx\n", hres);
SysFreeString(bstr);