mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
Merge pull request #3456 from cakebaker/ticket_3193
df: fix "Size" column header
This commit is contained in:
commit
cbe39b4154
2 changed files with 75 additions and 33 deletions
|
@ -413,10 +413,9 @@ fn test_block_size_with_suffix() {
|
|||
assert_eq!(get_header("1KiB"), "1K-blocks");
|
||||
assert_eq!(get_header("1MiB"), "1M-blocks");
|
||||
assert_eq!(get_header("1GiB"), "1G-blocks");
|
||||
// TODO enable the following asserts when #3193 is resolved
|
||||
//assert_eq!(get_header("1KB"), "1kB-blocks");
|
||||
//assert_eq!(get_header("1MB"), "1MB-blocks");
|
||||
//assert_eq!(get_header("1GB"), "1GB-blocks");
|
||||
assert_eq!(get_header("1KB"), "1kB-blocks");
|
||||
assert_eq!(get_header("1MB"), "1MB-blocks");
|
||||
assert_eq!(get_header("1GB"), "1GB-blocks");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue