mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
add whitespace delimiter option
This commit is contained in:
parent
01153a701f
commit
f6a0abaee3
4 changed files with 253 additions and 25 deletions
|
@ -81,6 +81,16 @@ fn test_field_sequence() {
|
|||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_whitespace_delimited() {
|
||||
for param in ["-w"] {
|
||||
new_ucmd!()
|
||||
.args(&[param, "-f", COMPLEX_SEQUENCE.sequence, INPUT])
|
||||
.succeeds()
|
||||
.stdout_only_fixture("whitespace_delimited.expected");
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_specify_delimiter() {
|
||||
for param in ["-d", "--delimiter", "--del"] {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue