Adding APIService to the kind sorter tests

pull/2650/head
Aaron Schlesinger 7 years ago
parent 5ff75f84a6
commit 58a2d7b5c1

@ -140,6 +140,11 @@ func TestKindSorter(t *testing.T) {
content: "",
head: &util.SimpleHead{Kind: "StatefulSet"},
},
{
name: "w",
content: "",
head: &util.SimpleHead{Kind: "APIService"},
},
}
for _, test := range []struct {
@ -147,8 +152,8 @@ func TestKindSorter(t *testing.T) {
order SortOrder
expected string
}{
{"install", InstallOrder, "abcdefghijklmnopqrstuv!"},
{"uninstall", UninstallOrder, "vmutsrqponlkjihgfedcba!"},
{"install", InstallOrder, "abcdefghijklmnopqrstuvw!"},
{"uninstall", UninstallOrder, "wvmutsrqponlkjihgfedcba!"},
} {
var buf bytes.Buffer
t.Run(test.description, func(t *testing.T) {

Loading…
Cancel
Save