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

factor: trim the input to fix some busybox results

This commit is contained in:
Sylvestre Ledru 2022-12-05 22:49:48 +01:00
parent 72d60f0869
commit b7925465a8
2 changed files with 12 additions and 8 deletions

View file

@ -108,10 +108,10 @@ fn test_cli_args() {
new_ucmd!().args(&["3"]).succeeds().stdout_contains("3: 3");
new_ucmd!()
.args(&["3", "6"])
.args(&["3", "6", " +9"])
.succeeds()
.stdout_contains("3: 3")
.stdout_contains("6: 2 3");
.stdout_contains("9: 3 3");
}
#[test]