diff options
author | Sebastiaan van Stijn <github@gone.nl> | 2020-02-07 14:39:24 +0100 |
---|---|---|
committer | Sebastiaan van Stijn <github@gone.nl> | 2020-02-11 00:06:42 +0100 |
commit | 9f0b3f5609faf69537cdf1882c251deec6e9eb26 (patch) | |
tree | 3c1fb5a8190e27d6c0a6c4041c8ed24228f995d5 /distribution | |
parent | c6400be46865296db2891d6cf1324982700537e0 (diff) | |
download | docker-9f0b3f5609faf69537cdf1882c251deec6e9eb26.tar.gz |
bump gotest.tools v3.0.1 for compatibility with Go 1.14
full diff: https://github.com/gotestyourself/gotest.tools/compare/v2.3.0...v3.0.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Diffstat (limited to 'distribution')
-rw-r--r-- | distribution/metadata/v1_id_service_test.go | 2 | ||||
-rw-r--r-- | distribution/pull_v2_test.go | 4 | ||||
-rw-r--r-- | distribution/xfer/download_test.go | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/distribution/metadata/v1_id_service_test.go b/distribution/metadata/v1_id_service_test.go index 5003897cbb..1fb0459fb4 100644 --- a/distribution/metadata/v1_id_service_test.go +++ b/distribution/metadata/v1_id_service_test.go @@ -6,7 +6,7 @@ import ( "testing" "github.com/docker/docker/layer" - "gotest.tools/assert" + "gotest.tools/v3/assert" ) func TestV1IDService(t *testing.T) { diff --git a/distribution/pull_v2_test.go b/distribution/pull_v2_test.go index 7e06abb42b..2144458a67 100644 --- a/distribution/pull_v2_test.go +++ b/distribution/pull_v2_test.go @@ -14,8 +14,8 @@ import ( "github.com/docker/distribution/reference" digest "github.com/opencontainers/go-digest" specs "github.com/opencontainers/image-spec/specs-go/v1" - "gotest.tools/assert" - is "gotest.tools/assert/cmp" + "gotest.tools/v3/assert" + is "gotest.tools/v3/assert/cmp" ) // TestFixManifestLayers checks that fixManifestLayers removes a duplicate diff --git a/distribution/xfer/download_test.go b/distribution/xfer/download_test.go index dc9065d68b..7ad8d89c5f 100644 --- a/distribution/xfer/download_test.go +++ b/distribution/xfer/download_test.go @@ -17,7 +17,7 @@ import ( "github.com/docker/docker/layer" "github.com/docker/docker/pkg/progress" digest "github.com/opencontainers/go-digest" - "gotest.tools/assert" + "gotest.tools/v3/assert" ) const maxDownloadConcurrency = 3 |