setupapi/tests: Remove check as we don't care how 'field' is allocated.

This commit is contained in:
Paul Vriens 2008-03-28 11:17:07 +01:00 committed by Alexandre Julliard
parent 026b252b44
commit dacb11533d
1 changed files with 0 additions and 5 deletions

View File

@ -461,11 +461,6 @@ static void test_pSetupGetField(void)
field = pSetupGetField( &context, i ); field = pSetupGetField( &context, i );
ok( field != NULL, "Failed to get field %i\n", i ); ok( field != NULL, "Failed to get field %i\n", i );
ok( !lstrcmpW( getfield_res[i], field ), "Wrong string returned\n" ); ok( !lstrcmpW( getfield_res[i], field ), "Wrong string returned\n" );
ret = HeapFree( GetProcessHeap(), 0, (LPVOID)field );
ok( !ret, "Expected HeapFree to fail\n" );
ok( GetLastError() == ERROR_INVALID_PARAMETER,
"Expected ERROR_INVALID_PARAMETER, got %u\n", GetLastError() );
} }
field = pSetupGetField( &context, 3 ); field = pSetupGetField( &context, 3 );