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

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Jacek Caban<jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Sebastian Lackner 2016-09-08 11:17:15 +02:00 committed by Alexandre Julliard
parent caaedf1cd6
commit 01581bfc48
1 changed files with 1 additions and 1 deletions

View File

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