mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 09:16:00 +00:00
Fix clippy errors on tests (#2160)
## Issue Addressed
There are some clippy error on tests.
## Proposed Changes
Enable clippy check on tests and fix the errors. 💪
This commit is contained in:
@@ -181,6 +181,7 @@ mod tests {
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[allow(clippy::assertions_on_constants)]
|
||||
fn sanity_check_constants() {
|
||||
assert!(TOTAL_SIZE > SEED_SIZE);
|
||||
assert!(TOTAL_SIZE > PIVOT_VIEW_SIZE);
|
||||
|
||||
Reference in New Issue
Block a user