mirror of
https://github.com/uutils/findutils.git
synced 2026-06-10 15:48:30 -07:00
Merge pull request #603 from brian-pane/eof
Ignore -E/-e flag when a delimiter is specified
This commit is contained in:
@@ -572,3 +572,14 @@ fn xargs_eof() {
|
||||
.stdout(predicate::str::diff("ab\n"));
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn xargs_eof_with_delimiter() {
|
||||
cargo_bin_cmd!("xargs")
|
||||
.args(["-0", "-Ecd"])
|
||||
.write_stdin("ab\0cd\0ef")
|
||||
.assert()
|
||||
.success()
|
||||
.stderr(predicate::str::is_empty())
|
||||
.stdout(predicate::str::diff("ab cd ef\n"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user