TC: Add missing tests for argumetns
Signed-off-by: ThedosiouTh <thanosthd@gmail.com>
This commit is contained in:
parent
9542bdf445
commit
8648f30351
|
|
@ -43,11 +43,21 @@ func Test_convert(t *testing.T) {
|
||||||
args: []string{"--host", "tcp://1.2.3.4", "up"},
|
args: []string{"--host", "tcp://1.2.3.4", "up"},
|
||||||
want: []string{"--host", "tcp://1.2.3.4", "compose", "up"},
|
want: []string{"--host", "tcp://1.2.3.4", "compose", "up"},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "compose --verbose",
|
||||||
|
args: []string{"--verbose"},
|
||||||
|
want: []string{"--debug", "compose"},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "compose --version",
|
name: "compose --version",
|
||||||
args: []string{"--version"},
|
args: []string{"--version"},
|
||||||
want: []string{"compose", "version"},
|
want: []string{"compose", "version"},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "compose -v",
|
||||||
|
args: []string{"-v"},
|
||||||
|
want: []string{"compose", "version"},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "help",
|
name: "help",
|
||||||
args: []string{"-h"},
|
args: []string{"-h"},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue