Skip to content

Commit 8648f30

Browse files
committed
TC: Add missing tests for argumetns
Signed-off-by: ThedosiouTh <[email protected]>
1 parent 9542bdf commit 8648f30

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

cmd/compatibility/convert_test.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,21 @@ func Test_convert(t *testing.T) {
4343
args: []string{"--host", "tcp://1.2.3.4", "up"},
4444
want: []string{"--host", "tcp://1.2.3.4", "compose", "up"},
4545
},
46+
{
47+
name: "compose --verbose",
48+
args: []string{"--verbose"},
49+
want: []string{"--debug", "compose"},
50+
},
4651
{
4752
name: "compose --version",
4853
args: []string{"--version"},
4954
want: []string{"compose", "version"},
5055
},
56+
{
57+
name: "compose -v",
58+
args: []string{"-v"},
59+
want: []string{"compose", "version"},
60+
},
5161
{
5262
name: "help",
5363
args: []string{"-h"},

0 commit comments

Comments
 (0)