mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
comm: use NUL if delimiter is empty
This commit is contained in:
parent
43a5b8c7d7
commit
ac35a1b985
3 changed files with 7 additions and 5 deletions
|
@ -59,13 +59,12 @@ fn output_delimiter() {
|
|||
.stdout_only_fixture("ab_delimiter_word.expected");
|
||||
}
|
||||
|
||||
#[cfg_attr(not(feature = "test_unimplemented"), ignore)]
|
||||
#[test]
|
||||
fn output_delimiter_require_arg() {
|
||||
fn output_delimiter_nul() {
|
||||
new_ucmd!()
|
||||
.args(&["--output-delimiter=", "a", "b"])
|
||||
.fails()
|
||||
.stderr_only("error to be defined");
|
||||
.succeeds()
|
||||
.stdout_only_fixture("ab_delimiter_nul.expected");
|
||||
}
|
||||
|
||||
// even though (info) documentation suggests this is an option
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue