We don't use gocheck in these tests

Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
This commit is contained in:
James Hewitt 2022-08-12 16:04:05 +01:00
parent f78d81e78a
commit 2d316a12d3
No known key found for this signature in database
GPG key ID: EA6C3C654B6193E4

View file

@ -13,8 +13,6 @@ import (
"strings" "strings"
"testing" "testing"
"gopkg.in/check.v1"
"github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/s3" "github.com/aws/aws-sdk-go/service/s3"
@ -23,13 +21,8 @@ import (
"github.com/distribution/distribution/v3/registry/storage/driver/testsuites" "github.com/distribution/distribution/v3/registry/storage/driver/testsuites"
) )
// Hook up gocheck into the "go test" runner. var s3DriverConstructor func(rootDirectory, storageClass string) (*Driver, error)
func Test(t *testing.T) { check.TestingT(t) } var skipS3 func() string
var (
s3DriverConstructor func(rootDirectory, storageClass string) (*Driver, error)
skipS3 func() string
)
func init() { func init() {
var ( var (