add more verbose test cases

Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com>
This commit is contained in:
faizan-siddiqui 2025-01-16 13:25:06 +11:00 committed by GitHub
parent ad5e8c3579
commit cb45935c4b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -61,7 +61,7 @@ func TestValidateFlagGroups(t *testing.T) {
desc: "No flags no problem even with conflicting groups", desc: "No flags no problem even with conflicting groups",
flagGroupsRequired: []string{"a b"}, flagGroupsRequired: []string{"a b"},
flagGroupsExclusive: []string{"a b"}, flagGroupsExclusive: []string{"a b"},
flagGroupsIfPresentThenRequired: []string{"a b"}, flagGroupsIfPresentThenRequired: []string{"a b", "b a"},
}, { }, {
desc: "Required flag group not satisfied", desc: "Required flag group not satisfied",
flagGroupsRequired: []string{"a b c"}, flagGroupsRequired: []string{"a b c"},