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

Merge pull request #1082 from flyrry/finish_basename

basename: add -a, -s and -z flags
This commit is contained in:
Alex Lyon 2017-10-09 11:33:06 -07:00 committed by GitHub
commit f2b952db54
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"] {