mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
join: add test for non-linefeed newline characters
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
b
d
|
||||
a c f
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
b
|
||||
a c
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
d
|
||||
a f
|
||||
Reference in New Issue
Block a user