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

join: add test for non-Unicode files

This commit is contained in:
Justin Tracey 2022-01-08 21:28:29 -05:00
parent cdfe64369d
commit 4df2f3c148
4 changed files with 9 additions and 0 deletions

View file

@ -337,3 +337,12 @@ fn non_line_feeds() {
.succeeds()
.stdout_only_fixture("non-line_feeds.expected");
}
#[test]
fn non_unicode() {
new_ucmd!()
.arg("non-unicode_1.bin")
.arg("non-unicode_2.bin")
.succeeds()
.stdout_only_fixture("non-unicode.expected");
}

BIN
tests/fixtures/join/non-unicode.expected vendored Normal file

Binary file not shown.

BIN
tests/fixtures/join/non-unicode_1.bin vendored Normal file

Binary file not shown.

BIN
tests/fixtures/join/non-unicode_2.bin vendored Normal file

Binary file not shown.