Merge pull request #134 from docker/gomod

Remove unneeded dependency
This commit is contained in:
Chris Crone 2020-11-20 17:07:25 +01:00 коммит произвёл GitHub
Родитель 1b14f887c2 a98489ae92
Коммит fa9a38c2ec
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
5 изменённых файлов: 4 добавлений и 5 удалений

Просмотреть файл

@ -25,7 +25,7 @@ import (
"github.com/docker/cli/cli/config/configfile" "github.com/docker/cli/cli/config/configfile"
clitypes "github.com/docker/cli/cli/config/types" clitypes "github.com/docker/cli/cli/config/types"
"gotest.tools/assert" "gotest.tools/v3/assert"
"gotest.tools/v3/env" "gotest.tools/v3/env"
"gotest.tools/v3/fs" "gotest.tools/v3/fs"
"gotest.tools/v3/icmd" "gotest.tools/v3/icmd"

1
go.mod
Просмотреть файл

@ -31,7 +31,6 @@ require (
github.com/spf13/pflag v1.0.5 github.com/spf13/pflag v1.0.5
golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208 golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208
gopkg.in/square/go-jose.v2 v2.5.1 gopkg.in/square/go-jose.v2 v2.5.1
gotest.tools v2.2.0+incompatible
gotest.tools/v3 v3.0.2 gotest.tools/v3 v3.0.2
) )

Просмотреть файл

@ -21,8 +21,8 @@ import (
"testing" "testing"
"time" "time"
"gotest.tools/golden"
"gotest.tools/v3/assert" "gotest.tools/v3/assert"
"gotest.tools/v3/golden"
"github.com/docker/hub-tool/internal/hub" "github.com/docker/hub-tool/internal/hub"
) )

Просмотреть файл

@ -24,8 +24,8 @@ import (
"github.com/docker/distribution/reference" "github.com/docker/distribution/reference"
"github.com/opencontainers/image-spec/specs-go" "github.com/opencontainers/image-spec/specs-go"
ocispec "github.com/opencontainers/image-spec/specs-go/v1" ocispec "github.com/opencontainers/image-spec/specs-go/v1"
"gotest.tools/golden"
"gotest.tools/v3/assert" "gotest.tools/v3/assert"
"gotest.tools/v3/golden"
) )
func TestPrintImage(t *testing.T) { func TestPrintImage(t *testing.T) {

Просмотреть файл

@ -19,7 +19,7 @@ package tag
import ( import (
"testing" "testing"
"gotest.tools/assert" "gotest.tools/v3/assert"
) )
func TestMappingSortFieldToOrderingAPI(t *testing.T) { func TestMappingSortFieldToOrderingAPI(t *testing.T) {