oleaut32: Fix a failing test in win95.

This commit is contained in:
James Hawkins 2008-09-24 03:06:00 -05:00 committed by Alexandre Julliard
parent a5684fdfb3
commit 40aeb9563f
1 changed files with 3 additions and 1 deletions

View File

@ -138,7 +138,9 @@ static void test_QueryInterface(void)
/* Test if QueryInterface increments ref counter for IFONTs */
ret = IFont_AddRef(font);
ok(ret == 3, "IFont_QI expected ref value 3 but instead got %12u\n",ret);
ok(ret == 3 ||
broken(ret == 1), /* win95 */
"IFont_QI expected ref value 3 but instead got %ld\n",ret);
IFont_Release(font);
ok(hres == S_OK,"IFont_QI does not return S_OK, but 0x%08x\n", hres);