summaryrefslogtreecommitdiff
path: root/internal/cli/root_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cli/root_test.go')
-rw-r--r--internal/cli/root_test.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/internal/cli/root_test.go b/internal/cli/root_test.go
index 3d8e2411..430ff6e7 100644
--- a/internal/cli/root_test.go
+++ b/internal/cli/root_test.go
@@ -30,7 +30,6 @@ func TestCommandSubcommands(t *testing.T) {
}
for _, tt := range cases {
- tt := tt
t.Run(tt.giveName, func(t *testing.T) {
if _, exists := subcommands[tt.giveName]; !exists {
assert.Failf(t, "command not found", "command [%s] was not found", tt.giveName)
@@ -55,7 +54,6 @@ func TestCommandFlags(t *testing.T) {
}
for _, tt := range cases {
- tt := tt
t.Run(tt.giveName, func(t *testing.T) {
flag := cmd.Flag(tt.giveName)