Commit d013f62
committed
fix: disable clang-tidy and fix MinGW test compatibility
clang-format workflow:
- Use tidy-checks: '-*' to properly disable clang-tidy (empty string
doesn't disable it)
- Check format-checks-failed instead of checks-failed to only fail
on actual formatting issues, not clang-tidy warnings
test_hid_interface.cpp:
- Use push_back instead of initializer list assignment for MinGW
compatibility in testMockInputReport
- Add assertion to verify read_response size before testing
- Add assertion to verify return value (bytes copied)
- Cast ASSERT_EQ values to int for proper uint8_t display1 parent bd1b6c8 commit d013f62
File tree
2 files changed
+15
-9
lines changed- .github/workflows
- tests
2 files changed
+15
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
| 206 | + | |
210 | 207 | | |
211 | 208 | | |
212 | 209 | | |
| |||
346 | 343 | | |
347 | 344 | | |
348 | 345 | | |
349 | | - | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
350 | 350 | | |
351 | | - | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
352 | 357 | | |
353 | 358 | | |
354 | 359 | | |
| 360 | + | |
355 | 361 | | |
356 | 362 | | |
357 | 363 | | |
| |||
0 commit comments