Skip to content

Commit

Permalink
test: use assert!
Browse files Browse the repository at this point in the history
  • Loading branch information
TrentGL committed Oct 7, 2024
1 parent 9ae2b39 commit 7e3f493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2462,7 +2462,7 @@ mod test {

#[test]
fn check_cpu_arch() {
assert_eq!(!System::cpu_arch().is_empty(), IS_SUPPORTED_SYSTEM);
assert!(!System::cpu_arch().is_empty());
}

// Ensure that the CPUs frequency isn't retrieved until we ask for it.
Expand Down

0 comments on commit 7e3f493

Please sign in to comment.