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-linefeed newline characters

This commit is contained in:
Justin Tracey 2022-01-08 19:23:02 -05:00
parent 9ad8a03646
commit cdfe64369d
4 changed files with 15 additions and 0 deletions

View file

@ -328,3 +328,12 @@ fn single_file_with_header() {
.succeeds()
.stdout_is("A 1\n");
}
#[test]
fn non_line_feeds() {
new_ucmd!()
.arg("non-line_feeds_1.txt")
.arg("non-line_feeds_2.txt")
.succeeds()
.stdout_only_fixture("non-line_feeds.expected");
}

View file

@ -0,0 +1,2 @@
b d
a c f

View file

@ -0,0 +1,2 @@
b
a c

View file

@ -0,0 +1,2 @@
d
a f