chore: Add macOS-specific test for format_bytes_speed function
This commit is contained in:
@@ -223,6 +223,7 @@ pub fn format_bytes_speed(speed: u64) -> String {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(target_os = "macos")]
|
||||
#[test]
|
||||
fn test_format_bytes_speed() {
|
||||
assert_eq!(format_bytes_speed(0), "0B/s");
|
||||
|
||||
Reference in New Issue
Block a user