Commit 01581bfc authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

mshtml/tests: Fix incorrect usage of broken() function.

Signed-off-by: 's avatarSebastian Lackner <sebastian@fds-team.de> Signed-off-by: Jacek Caban<jacek@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent caaedf1c
......@@ -1968,7 +1968,7 @@ static void test_func(IDispatchEx *obj)
memset(&ei, 0, sizeof(ei));
VariantInit(&var);
hres = IDispatchEx_Invoke(dispex, DISPID_VALUE, &IID_NULL, LOCALE_NEUTRAL, DISPATCH_METHOD, &dp, &var, &ei, NULL);
ok(hres == S_OK || broken(E_ACCESSDENIED), "InvokeEx failed: %08x\n", hres);
ok(hres == S_OK || broken(hres == E_ACCESSDENIED), "InvokeEx failed: %08x\n", hres);
if(SUCCEEDED(hres)) {
DISPID named_args[2] = { DISPID_THIS, 0xdeadbeef };
VARIANT args[2];
......
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