mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
test(sort): needs support for human-readable block size suffixes R and Q
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user