Skip to content

Commit 1104f08

Browse files
GokceGKFyusel
andauthored
Update internal/cmd/beta/security-group-rule/create/create_test.go
Co-authored-by: Alexander Dahmen <alexander.dahmen@inovex.de>
1 parent a9e1dd8 commit 1104f08

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

internal/cmd/beta/security-group-rule/create/create_test.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,13 @@ func TestParseInput(t *testing.T) {
274274
}
275275
}
276276

277+
err = cmd.ValidateFlagGroups()
278+
if err != nil {
279+
if !tt.isValid {
280+
return
281+
}
282+
t.Fatalf("error validating flag groups: %v", err)
283+
}
277284
err = cmd.ValidateRequiredFlags()
278285
if err != nil {
279286
if !tt.isValid {

0 commit comments

Comments
 (0)