mirror of
https://github.com/spf13/cobra
synced 2025-01-30 23:46:45 +00:00
add more verbose test cases
Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com>
This commit is contained in:
parent
ad5e8c3579
commit
cb45935c4b
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ func TestValidateFlagGroups(t *testing.T) {
|
|||
desc: "No flags no problem even with conflicting groups",
|
||||
flagGroupsRequired: []string{"a b"},
|
||||
flagGroupsExclusive: []string{"a b"},
|
||||
flagGroupsIfPresentThenRequired: []string{"a b"},
|
||||
flagGroupsIfPresentThenRequired: []string{"a b", "b a"},
|
||||
}, {
|
||||
desc: "Required flag group not satisfied",
|
||||
flagGroupsRequired: []string{"a b c"},
|
||||
|
|
Loading…
Reference in a new issue