mirror of https://github.com/docker/cli.git
Merge pull request #2069 from knqyf263/fix/pull_test
fix(pull_test): --quiet option
This commit is contained in:
commit
5e99c05010
|
@ -50,7 +50,6 @@ func TestNewPullCommandSuccess(t *testing.T) {
|
||||||
testCases := []struct {
|
testCases := []struct {
|
||||||
name string
|
name string
|
||||||
args []string
|
args []string
|
||||||
flags map[string]string
|
|
||||||
expectedTag string
|
expectedTag string
|
||||||
}{
|
}{
|
||||||
{
|
{
|
||||||
|
@ -65,10 +64,7 @@ func TestNewPullCommandSuccess(t *testing.T) {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "simple-quiet",
|
name: "simple-quiet",
|
||||||
args: []string{"image"},
|
args: []string{"--quiet", "image"},
|
||||||
flags: map[string]string{
|
|
||||||
"quiet": "true",
|
|
||||||
},
|
|
||||||
expectedTag: "image:latest",
|
expectedTag: "image:latest",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
Using default tag: latest
|
|
||||||
docker.io/library/image:latest
|
docker.io/library/image:latest
|
||||||
|
|
Loading…
Reference in New Issue