fix(pull_test): for quiet option

Signed-off-by: Teppei Fukuda <knqyf263@gmail.com>
(cherry picked from commit 7634872a39)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
knqyf263 2019-08-27 18:23:13 +09:00 committed by Sebastiaan van Stijn
parent ab4a5cc0f7
commit 8291738733
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
2 changed files with 2 additions and 7 deletions

View File

@ -50,7 +50,6 @@ func TestNewPullCommandSuccess(t *testing.T) {
testCases := []struct {
name string
args []string
flags map[string]string
expectedTag string
}{
{
@ -65,10 +64,7 @@ func TestNewPullCommandSuccess(t *testing.T) {
},
{
name: "simple-quiet",
args: []string{"image"},
flags: map[string]string{
"quiet": "true",
},
args: []string{"--quiet", "image"},
expectedTag: "image:latest",
},
}

View File

@ -1,2 +1 @@
Using default tag: latest
docker.io/library/image:latest