[PATCH] dinput8/tests: Don'te test value again if it wasn't touched

Michael Stefaniuc mstefani at winehq.org
Fri Dec 17 16:49:08 CST 2021


Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
 dlls/dinput8/tests/hid.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/dinput8/tests/hid.c b/dlls/dinput8/tests/hid.c
index 35d72409af5..82657c2e235 100644
--- a/dlls/dinput8/tests/hid.c
+++ b/dlls/dinput8/tests/hid.c
@@ -1730,7 +1730,6 @@ static void test_hidp( HANDLE file, HANDLE async_file, int report_id, BOOL polle
     status = HidP_SetScaledUsageValue( HidP_Input, HID_USAGE_PAGE_GENERIC, 0, HID_USAGE_GENERIC_RY,
                                        0, preparsed_data, report, caps.InputReportByteLength );
     ok( status == HIDP_STATUS_BAD_LOG_PHY_VALUES, "HidP_GetScaledUsageValue returned %#x\n", status );
-    ok( value == 0, "got value %x, expected %#x\n", value, 0 );
 
     value = HidP_MaxUsageListLength( HidP_Feature + 1, 0, preparsed_data );
     ok( value == 0, "HidP_MaxUsageListLength(HidP_Feature + 1, 0) returned %d, expected %d\n", value, 0 );
-- 
2.31.1




More information about the wine-devel mailing list