summaryrefslogtreecommitdiffstats
path: root/pkg/commands/hosting_service/hosting_service_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/commands/hosting_service/hosting_service_test.go')
-rw-r--r--pkg/commands/hosting_service/hosting_service_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/commands/hosting_service/hosting_service_test.go b/pkg/commands/hosting_service/hosting_service_test.go
index ab7a2b402..f762135c3 100644
--- a/pkg/commands/hosting_service/hosting_service_test.go
+++ b/pkg/commands/hosting_service/hosting_service_test.go
@@ -56,6 +56,7 @@ func TestGetRepoInfoFromURL(t *testing.T) {
}
for _, s := range scenarios {
+ s := s
t.Run(s.testName, func(t *testing.T) {
result, err := s.serviceDefinition.getRepoInfoFromURL(s.repoURL)
assert.NoError(t, err)
@@ -222,6 +223,7 @@ func TestGetPullRequestURL(t *testing.T) {
}
for _, s := range scenarios {
+ s := s
t.Run(s.testName, func(t *testing.T) {
tr := i18n.EnglishTranslationSet()
log := &test.FakeFieldLogger{}