[PATCH] comdlg32/tests: Accept win8 failure-code

Dmitry Timoshkov dmitry at baikal.ru
Thu Dec 13 00:06:02 CST 2012


Detlef Riekenberg <wine.dev at web.de> wrote:

> -        ok(hr == E_FAIL, "got 0x%08x.\n", hr);
> +        /* win8: E_NOTIMPL */
> +        ok(hr == E_FAIL || hr == E_NOTIMPL, "got 0x%08x.\n", hr);

A usual form for such comparisons is

ok(hr == E_FAIL || hr == E_NOTIMPL /* win8 */, "got 0x%08x.\n", hr);

that helps to avoid redundant and duplicating information.

-- 
Dmitry.



More information about the wine-devel mailing list