mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +00:00
add some tests for Clap's InferLongArgs setting
This commit is contained in:
parent
5f1933a89f
commit
2412e4cbf7
11 changed files with 166 additions and 110 deletions
|
@ -5,6 +5,11 @@ fn test_df_compatible_no_size_arg() {
|
|||
new_ucmd!().arg("-a").succeeds();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_df_shortened_long_argument() {
|
||||
new_ucmd!().arg("--a").succeeds();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_df_compatible() {
|
||||
new_ucmd!().arg("-ah").succeeds();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue