Skip to content

Commit

Permalink
clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
FloppyDisck committed Oct 27, 2023
1 parent 7349166 commit 1ddf0ae
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -399,12 +399,12 @@ mod test {
#[test]
fn status() {
let status = Status::from_bytes(0x8010);
assert_eq!(status.pending_alert, true);
assert_eq!(status.heater_on, false);
assert_eq!(status.rh_alert, false);
assert_eq!(status.t_alert, false);
assert_eq!(status.system_reset, true);
assert_eq!(status.last_command_processed, true);
assert_eq!(status.checksum_failed, false);
assert!(status.pending_alert);
assert!(!status.heater_on);
assert!(!status.rh_alert);
assert!(!status.t_alert);
assert!(status.system_reset);
assert!(status.last_command_processed);
assert!(!status.checksum_failed);
}
}

0 comments on commit 1ddf0ae

Please sign in to comment.