Commit graph

7 commits

Author SHA1 Message Date
Samuel Tardieu
d1c315a288 missing_asserts_for_indexing: consider assert_eq!() as well
`assert_eq!()` and `assert_ne!()` are not expanded the same way as
`assert!()` (they use a `match` instead of a `if`). This makes them
being recognized as well.
2025-04-06 12:56:12 +02:00
Vishruth-Thimmaiah
2cd3ea1f9d
fix[missing_asserts_for_indexing]: ignore lint if first index is highest 2025-03-01 12:17:03 +05:30
Guillaume Gomez
1f94d55a18 Fix new tests updates 2025-02-15 13:38:42 +01:00
Guillaume Gomez
f666fd6417 Update UI tests 2025-02-15 13:38:16 +01:00
y21
4de845e375 [missing_asserts_for_indexing]: accept len equality checks 2023-11-18 14:59:24 +01:00
y21
790922c5d6 update ui tests and some minor cleanups 2023-08-31 18:42:27 +02:00
y21
b54bac9f14 new lint: missing_assert_for_indexing 2023-08-31 17:44:19 +02:00