1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 19:17:43 +00:00

fmt: change test to ignore and fix test output

- fix test to get same result as GNU fmt
This commit is contained in:
Bluelief 2023-08-15 00:43:32 +09:00
parent 946e1bb2d1
commit a7ab660a38
No known key found for this signature in database
GPG key ID: EA92238364034DA5

View file

@ -44,13 +44,14 @@ fn test_fmt_width_too_big() {
} }
} }
#[ignore]
#[test] #[test]
fn test_fmt_goal() { fn test_fmt_goal() {
for param in ["-g", "--goal"] { for param in ["-g", "--goal"] {
new_ucmd!() new_ucmd!()
.args(&["one-word-per-line.txt", param, "7"]) .args(&["one-word-per-line.txt", param, "7"])
.succeeds() .succeeds()
.stdout_is("this is\na file\nwith one\nword per\nline\n"); .stdout_is("this is a\nfile with one\nword per line\n");
} }
} }