mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +00:00
test(sort): needs support for human-readable block size suffixes R and Q
This commit is contained in:
parent
fb5172eb2a
commit
e0261c66c8
1 changed files with 11 additions and 0 deletions
|
@ -1313,3 +1313,14 @@ fn test_k_overflow() {
|
||||||
.succeeds()
|
.succeeds()
|
||||||
.stdout_is(output);
|
.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);
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue