mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-09-16 19:56:17 +00:00
join: add support for -z option
This commit is contained in:
parent
4fc47aba61
commit
346415e1d2
3 changed files with 48 additions and 4 deletions
|
@ -346,3 +346,13 @@ fn non_unicode() {
|
|||
.succeeds()
|
||||
.stdout_only_fixture("non-unicode.expected");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn null_line_endings() {
|
||||
new_ucmd!()
|
||||
.arg("-z")
|
||||
.arg("non-unicode_1.bin")
|
||||
.arg("non-unicode_2.bin")
|
||||
.succeeds()
|
||||
.stdout_only_fixture("z.expected");
|
||||
}
|
||||
|
|
BIN
tests/fixtures/join/z.expected
vendored
Normal file
BIN
tests/fixtures/join/z.expected
vendored
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue