Commit dc31e66e authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

mshtml/tests: Actually test a return value.

parent de2ca5e5
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment