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

cut: implement zero-terminated option

no changes to char mode because removal
of specialized char mode behavior is pending
This commit is contained in:
Nathan Ross 2016-08-08 20:15:53 -04:00
parent 3618d9df94
commit 5aaff02195
3 changed files with 50 additions and 27 deletions

View file

@ -78,7 +78,6 @@ fn test_complement() {
.succeeds().stdout_only("9\n8\n7\n");
}
#[cfg_attr(not(feature="test_unimplemented"),ignore)]
#[test]
fn test_zero_terminated() {
new_ucmd().args(&["-d_","-z", "-f", "1"])
@ -95,7 +94,6 @@ fn test_only_delimited() {
}
}
#[cfg_attr(not(feature="test_unimplemented"),ignore)]
#[test]
fn test_zero_terminated_only_delimited() {
new_ucmd().args(&["-d_","-z", "-s", "-f", "1"])