@ -103,3 +103,13 @@ fn right_padding(s: &str, max: usize) -> String {
}
tmp
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn test_format_filesize_bytes() {
assert_eq!(format_filesize(6969), "6969B");