mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 07:03:45 +08:00
chore: Add macOS-specific test for format_bytes_speed function
This commit is contained in:
parent
89d20e564a
commit
c35bf38420
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user