1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

join: implement option to suppress joined lines

This commit is contained in:
Konstantin Pospelov 2018-06-09 12:11:58 +03:00
parent 2b063dd363
commit e9fd9d623d
3 changed files with 44 additions and 9 deletions

View file

@ -0,0 +1,3 @@
1 a
8 h
9 i

View file

@ -85,6 +85,18 @@ fn unpaired_lines() {
.succeeds().stdout_only_fixture("unpaired_lines.expected");
}
#[test]
fn suppress_joined() {
new_ucmd!()
.arg("fields_3.txt")
.arg("fields_2.txt")
.arg("-1")
.arg("2")
.arg("-v")
.arg("2")
.succeeds().stdout_only_fixture("suppress_joined.expected");
}
#[test]
fn case_insensitive() {
new_ucmd!()