mirror of
https://github.com/clap-rs/clap
synced 2024-11-14 00:27:13 +00:00
test(complete): Add another sort/filter case
This commit is contained in:
parent
8b88646129
commit
6b426dfd70
1 changed files with 9 additions and 0 deletions
|
@ -1119,6 +1119,15 @@ pos-c
|
|||
--long-flag
|
||||
--help Print help
|
||||
-s
|
||||
"#]]
|
||||
);
|
||||
assert_data_eq!(
|
||||
complete!(cmd, "--[TAB]"),
|
||||
snapbox::str![[r#"
|
||||
--required-flag
|
||||
--optional-flag
|
||||
--long-flag
|
||||
--help Print help
|
||||
"#]]
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue