diff --git a/e2e/helper_test.go b/e2e/helper_test.go index 1ef7e10..36f5efb 100644 --- a/e2e/helper_test.go +++ b/e2e/helper_test.go @@ -25,7 +25,7 @@ import ( "github.com/docker/cli/cli/config/configfile" clitypes "github.com/docker/cli/cli/config/types" - "gotest.tools/assert" + "gotest.tools/v3/assert" "gotest.tools/v3/env" "gotest.tools/v3/fs" "gotest.tools/v3/icmd" diff --git a/go.mod b/go.mod index aba9ebc..a5d7c36 100644 --- a/go.mod +++ b/go.mod @@ -31,7 +31,6 @@ require ( github.com/spf13/pflag v1.0.5 golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208 gopkg.in/square/go-jose.v2 v2.5.1 - gotest.tools v2.2.0+incompatible gotest.tools/v3 v3.0.2 ) diff --git a/internal/commands/account/info_test.go b/internal/commands/account/info_test.go index aef875b..533fb99 100644 --- a/internal/commands/account/info_test.go +++ b/internal/commands/account/info_test.go @@ -21,8 +21,8 @@ import ( "testing" "time" - "gotest.tools/golden" "gotest.tools/v3/assert" + "gotest.tools/v3/golden" "github.com/docker/hub-tool/internal/hub" ) diff --git a/internal/commands/tag/inspect_test.go b/internal/commands/tag/inspect_test.go index 9a32fc7..647a386 100644 --- a/internal/commands/tag/inspect_test.go +++ b/internal/commands/tag/inspect_test.go @@ -24,8 +24,8 @@ import ( "github.com/docker/distribution/reference" "github.com/opencontainers/image-spec/specs-go" ocispec "github.com/opencontainers/image-spec/specs-go/v1" - "gotest.tools/golden" "gotest.tools/v3/assert" + "gotest.tools/v3/golden" ) func TestPrintImage(t *testing.T) { diff --git a/internal/commands/tag/list_test.go b/internal/commands/tag/list_test.go index 018a450..dcc2563 100644 --- a/internal/commands/tag/list_test.go +++ b/internal/commands/tag/list_test.go @@ -19,7 +19,7 @@ package tag import ( "testing" - "gotest.tools/assert" + "gotest.tools/v3/assert" ) func TestMappingSortFieldToOrderingAPI(t *testing.T) {