1
Fork 0
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:
TechHara 2022-12-10 21:47:37 -05:00
parent 01153a701f
commit f6a0abaee3
4 changed files with 253 additions and 25 deletions

View file

@ -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"] {