1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37: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

@ -248,7 +248,7 @@ fn test_truncate_bytes_size() {
.args(&["--size", "1024R", "file"])
.fails()
.code_is(1)
.stderr_only("truncate: Invalid number: '1024R'\n");
.stderr_only("truncate: Invalid number: '1024R': Value too large for defined data type\n");
#[cfg(not(target_pointer_width = "128"))]
new_ucmd!()
.args(&["--size", "1Y", "file"])