1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

test(sort): needs support for human-readable block size suffixes R and Q

This commit is contained in:
David Rebbe 2025-01-22 23:38:13 -05:00
parent fb5172eb2a
commit e0261c66c8

View file

@ -1313,3 +1313,14 @@ fn test_k_overflow() {
.succeeds()
.stdout_is(output);
}
#[test]
fn test_human_blocks_r_and_q() {
let input = "1Q\n1R\n";
let output = "1R\n1Q\n";
new_ucmd!()
.args(&["-h"])
.pipe_in(input)
.succeeds()
.stdout_is(output);
}