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

basename: add -a, -s and -z flags

This commit is contained in:
Sergei Mironenko 2017-10-07 16:26:06 +03:00
parent 618531b366
commit 0b5a2c8743
2 changed files with 26 additions and 12 deletions

View file

@ -23,7 +23,6 @@ fn test_dont_remove_suffix() {
new_ucmd!().args(&["/foo/bar/baz", "baz"]).succeeds().stdout_only( "baz");
}
#[cfg_attr(not(feature="test_unimplemented"),ignore)]
#[test]
fn test_multiple_param() {
for multiple_param in vec!["-a", "--multiple"] {
@ -33,7 +32,6 @@ fn test_multiple_param() {
}
}
#[cfg_attr(not(feature="test_unimplemented"),ignore)]
#[test]
fn test_suffix_param() {
for suffix_param in vec!["-s", "--suffix"] {
@ -44,7 +42,6 @@ fn test_suffix_param() {
}
}
#[cfg_attr(not(feature="test_unimplemented"),ignore)]
#[test]
fn test_zero_param() {
for zero_param in vec!["-z", "--zero"] {