[PATCH] dinput8/tests: Don't test value again if it wasn't touched.
Rémi Bernon
rbernon at codeweavers.com
Sat Dec 18 05:22:52 CST 2021
From: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
Supersedes: 222335
Thanks, I fixed up the commit title.
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.34.0
More information about the wine-devel
mailing list