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:
parent
946e1bb2d1
commit
a7ab660a38
1 changed files with 2 additions and 1 deletions
|
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue