oleaut32/tests: Avoid misleading assignment in refcounting tests.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Sebastian Lackner 2016-02-15 22:43:53 +01:00 committed by Alexandre Julliard
parent a0ec5fecd0
commit fd8ecd0cfa
1 changed files with 2 additions and 1 deletions

View File

@ -210,7 +210,8 @@ static void ref_count_test(LPCWSTR type_lib)
hRes = ITypeLib_GetTypeInfo(iface, 1, &iti1);
ok(hRes == S_OK, "ITypeLib_GetTypeInfo failed on index = 1\n");
ok(ref_count=ITypeLib_Release(iface) > 0, "ITypeLib destroyed while ITypeInfo has back pointer\n");
ref_count = ITypeLib_Release(iface);
ok(ref_count > 0, "ITypeLib destroyed while ITypeInfo has back pointer\n");
if(!ref_count)
return;