Adding APIService to the kind sorter tests

This commit is contained in:
Aaron Schlesinger 2017-07-10 14:33:57 -07:00
parent 5ff75f84a6
commit 58a2d7b5c1
1 changed files with 7 additions and 2 deletions

View File

@ -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) {