From 2d316a12d36f2c11f64acc55b64408f4c26347c5 Mon Sep 17 00:00:00 2001 From: James Hewitt Date: Fri, 12 Aug 2022 16:04:05 +0100 Subject: [PATCH] We don't use gocheck in these tests Signed-off-by: James Hewitt --- registry/storage/driver/s3-aws/s3_test.go | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/registry/storage/driver/s3-aws/s3_test.go b/registry/storage/driver/s3-aws/s3_test.go index e4fe17937..487ba6520 100644 --- a/registry/storage/driver/s3-aws/s3_test.go +++ b/registry/storage/driver/s3-aws/s3_test.go @@ -13,8 +13,6 @@ import ( "strings" "testing" - "gopkg.in/check.v1" - "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/service/s3" @@ -23,13 +21,8 @@ import ( "github.com/distribution/distribution/v3/registry/storage/driver/testsuites" ) -// Hook up gocheck into the "go test" runner. -func Test(t *testing.T) { check.TestingT(t) } - -var ( - s3DriverConstructor func(rootDirectory, storageClass string) (*Driver, error) - skipS3 func() string -) +var s3DriverConstructor func(rootDirectory, storageClass string) (*Driver, error) +var skipS3 func() string func init() { var (