diff --git a/src/builtins/fetch.rs b/src/builtins/fetch.rs index 434b31f..f07ea29 100644 --- a/src/builtins/fetch.rs +++ b/src/builtins/fetch.rs @@ -75,4 +75,9 @@ mod tests { fn test_format_uptime_hours() { assert_eq!(format_uptime(3735), "1h 2m 15s"); } + + #[test] + fn test_bytes_to_mebi_bytes() { + assert_eq!(bytes_to_mebi_bytes(7628144640), 7274); + } }