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