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

uucore: implement SI suffixes R and Q

This commit is contained in:
zhitkoff 2023-10-04 21:26:29 -04:00 committed by Yury Zhytkou
parent f18055835c
commit cb7479e823
15 changed files with 244 additions and 147 deletions

View file

@ -642,10 +642,10 @@ fn test_split_obs_lines_within_combined_with_number() {
#[test]
fn test_split_invalid_bytes_size() {
new_ucmd!()
.args(&["-b", "1024R"])
.args(&["-b", "1024W"])
.fails()
.code_is(1)
.stderr_only("split: invalid number of bytes: '1024R'\n");
.stderr_only("split: invalid number of bytes: '1024W'\n");
#[cfg(target_pointer_width = "32")]
{
let sizes = ["1000G", "10T"];