mirror of https://github.com/docker/cli.git
e2e: Use icmd.None in a couple more places
This checks for actual emptiness, while `""` means "don't care". Signed-off-by: Ian Campbell <ijc@docker.com>
This commit is contained in:
parent
5bbb56bfee
commit
add2da66c5
|
@ -45,13 +45,13 @@ func TestClashWithGlobalArgs(t *testing.T) {
|
|||
name: "short-with-val",
|
||||
args: []string{"-c", "Christmas"},
|
||||
expectedOut: "Merry Christmas!",
|
||||
expectedErr: "",
|
||||
expectedErr: icmd.None,
|
||||
},
|
||||
{
|
||||
name: "short-with-val",
|
||||
args: []string{"--context", "Christmas"},
|
||||
expectedOut: "Merry Christmas!",
|
||||
expectedErr: "",
|
||||
expectedErr: icmd.None,
|
||||
},
|
||||
} {
|
||||
t.Run(tc.name, func(t *testing.T) {
|
||||
|
|
Loading…
Reference in New Issue