Skip to content

Commit 319f99d

Browse files
committed
Fix linting issues
1 parent eecd8eb commit 319f99d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/provider/helper_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func testAccCheck(t *testing.T) {
6969
t.Helper()
7070

7171
if os.Getenv(resource.EnvTfAcc) == "" {
72-
t.Skip(fmt.Sprintf("Acceptance tests skipped unless env '%s' set", resource.EnvTfAcc))
72+
t.Skipf("Acceptance tests skipped unless env '%s' set", resource.EnvTfAcc)
7373
}
7474
}
7575

@@ -428,7 +428,7 @@ type testAccGitlabProjectContext struct {
428428
// call testAccGitlabProjectContext.finish() when finished with the testAccGitlabProjectContext.
429429
func testAccGitlabProjectStart(t *testing.T) testAccGitlabProjectContext {
430430
if os.Getenv(resource.EnvTfAcc) == "" {
431-
t.Skip(fmt.Sprintf("Acceptance tests skipped unless env '%s' set", resource.EnvTfAcc))
431+
t.Skipf("Acceptance tests skipped unless env '%s' set", resource.EnvTfAcc)
432432
return testAccGitlabProjectContext{}
433433
}
434434

0 commit comments

Comments
 (0)