File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ func testAccCheck(t *testing.T) {
69
69
t .Helper ()
70
70
71
71
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 )
73
73
}
74
74
}
75
75
@@ -428,7 +428,7 @@ type testAccGitlabProjectContext struct {
428
428
// call testAccGitlabProjectContext.finish() when finished with the testAccGitlabProjectContext.
429
429
func testAccGitlabProjectStart (t * testing.T ) testAccGitlabProjectContext {
430
430
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 )
432
432
return testAccGitlabProjectContext {}
433
433
}
434
434
You can’t perform that action at this time.
0 commit comments