diff --git a/flag_groups_test.go b/flag_groups_test.go index a1c79ce..e704a92 100644 --- a/flag_groups_test.go +++ b/flag_groups_test.go @@ -118,11 +118,6 @@ func TestValidateFlagGroups(t *testing.T) { flagGroupsExclusive: []string{"a d", "a b", "a c"}, args: []string{"--a=foo", "--b=foo", "--c=foo"}, expectErr: `if any flags in the group [a b] are set none of the others can be; [a b] were all set`, - }, { - desc: "Validation of if present then others required groups occurs on groups in sorted order", - flagGroupsIfPresentThenRequired: []string{"a d", "a b", "a c"}, - args: []string{"--a=foo"}, - expectErr: `if the first flag in the group [a b] is set, all other flags must be set; the following flags are not set: [b]`, }, { desc: "Persistent flags utilize required and exclusive groups and can fail required groups", flagGroupsRequired: []string{"a e", "e f"},