From 3bc633787a39dcbcc09d2f01eda5a7856d795a23 Mon Sep 17 00:00:00 2001 From: Aaron Schlesinger Date: Mon, 10 Jul 2017 14:33:57 -0700 Subject: [PATCH] Adding APIService to the kind sorter tests --- pkg/tiller/kind_sorter_test.go | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkg/tiller/kind_sorter_test.go b/pkg/tiller/kind_sorter_test.go index 4fe4b09e6..4a6806724 100644 --- a/pkg/tiller/kind_sorter_test.go +++ b/pkg/tiller/kind_sorter_test.go @@ -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) {