Skip to content

Commit acc11ed

Browse files
committed
Use t.Skipf() per golangci-lint (gosimple)
1 parent b5e3e92 commit acc11ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/sqlserver/sqlserver_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func isReady(ctx context.Context, c dktest.ContainerInfo) bool {
9191

9292
func SkipIfUnsupportedArch(t *testing.T, c dktest.ContainerInfo) {
9393
if strings.Contains(c.ImageName, "mssql") && !strings.HasPrefix(runtime.GOARCH, "amd") {
94-
t.Skip(fmt.Sprintf("Image %s is not supported on arch %s", c.ImageName, runtime.GOARCH))
94+
t.Skipf("Image %s is not supported on arch %s", c.ImageName, runtime.GOARCH)
9595
}
9696
}
9797

0 commit comments

Comments
 (0)