diff --git a/internal/commands/util/pr_test.go b/internal/commands/util/pr_test.go index 46749bdb9..f080ec820 100644 --- a/internal/commands/util/pr_test.go +++ b/internal/commands/util/pr_test.go @@ -164,6 +164,7 @@ func TestRepoSlugFormatBB(t *testing.T) { } for _, tt := range tests { + tt := tt t.Run(tt.name, func(t *testing.T) { slug := repoSlugFormatBB(tt.repoNameFlag) asserts.Equal(t, tt.expectedSlug, slug)