Commit fefb9475 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

dwrite/tests: Fix some test failures.

parent be089ba2
......@@ -940,9 +940,9 @@ if (file) {
/* local loader is not registered by default */
hr = IDWriteFactory_RegisterFontFileLoader(factory, loader);
ok(hr == S_OK, "got 0x%08x\n", hr);
ok(hr == S_OK || broken(hr == DWRITE_E_ALREADYREGISTERED), "got 0x%08x\n", hr);
hr = IDWriteFactory_UnregisterFontFileLoader(factory, loader);
ok(hr == S_OK, "got 0x%08x\n", hr);
ok(hr == S_OK || broken(hr == E_INVALIDARG), "got 0x%08x\n", hr);
IDWriteFontFileLoader_Release(loader);
}
ret = TRUE;
......
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