mirror of https://github.com/docker/cli.git
fix(pull_test): for quiet option
Signed-off-by: Teppei Fukuda <knqyf263@gmail.com>
This commit is contained in:
parent
f2163dd6a7
commit
7634872a39
|
@ -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",
|
||||
},
|
||||
}
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
Using default tag: latest
|
||||
docker.io/library/image:latest
|
||||
|
|
Loading…
Reference in New Issue