Skip to content

Commit 20a2f83

Browse files
committed
update test
Signed-off-by: Hang Yan <[email protected]>
1 parent 9b7c1b3 commit 20a2f83

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pkg/antctl/command_list_test.go

+1-3
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ func TestCommandListApplyToCommand(t *testing.T) {
5656
}
5757

5858
func TestGetDebugCommands(t *testing.T) {
59-
6059
tc := []struct {
6160
name string
6261
mode string
@@ -65,7 +64,7 @@ func TestGetDebugCommands(t *testing.T) {
6564
{
6665
name: "Antctl running against controller mode",
6766
mode: "controller",
68-
expected: [][]string{{"version"}, {"get", "networkpolicy"}, {"get", "appliedtogroup"}, {"get", "addressgroup"}, {"get", "controllerinfo"}, {"supportbundle"}, {"traceflow"}, {"packetcapture"}, {"get", "featuregates"}},
67+
expected: [][]string{{"version"}, {"get", "networkpolicy"}, {"get", "appliedtogroup"}, {"get", "addressgroup"}, {"get", "controllerinfo"}, {"supportbundle"}, {"traceflow"}, {"get", "featuregates"}},
6968
},
7069
{
7170
name: "Antctl running against agent mode",
@@ -84,5 +83,4 @@ func TestGetDebugCommands(t *testing.T) {
8483
assert.Equal(t, tt.expected, generated)
8584
})
8685
}
87-
8886
}

0 commit comments

Comments
 (0)