From 23cadf7ab4524c81986a9324de19a1b6dac51ad7 Mon Sep 17 00:00:00 2001 From: faizan-siddiqui Date: Wed, 23 Oct 2024 17:16:12 +1100 Subject: [PATCH] update test --- flag_groups_test.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/flag_groups_test.go b/flag_groups_test.go index a1c79ce3..e704a92f 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"},