mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 06:12:40 +00:00
test: Expand group test
This commit is contained in:
parent
470140f41e
commit
993b0a88d7
1 changed files with 1 additions and 0 deletions
|
@ -296,6 +296,7 @@ fn group_acts_like_arg() {
|
|||
assert!(result.is_ok(), "{}", result.unwrap_err());
|
||||
let m = result.unwrap();
|
||||
assert!(m.contains_id("mode"));
|
||||
assert_eq!(m.get_one::<clap::Id>("mode").unwrap(), "debug");
|
||||
}
|
||||
|
||||
/* This is used to be fixed in a hack, we need to find a better way to fix it.
|
||||
|
|
Loading…
Reference in a new issue