Skip to content

Commit

Permalink
fix(sorter): Adds missing unit test
Browse files Browse the repository at this point in the history
Adds a unit test that was missed as part of #2961
  • Loading branch information
thomastaylor312 committed Sep 28, 2017
1 parent 962191b commit 333f8dd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pkg/tiller/kind_sorter_test.go
Expand Up @@ -49,6 +49,10 @@ func TestKindSorter(t *testing.T) {
Name: "r",
Head: &util.SimpleHead{Kind: "Deployment"},
},
{
Name: "1",
Head: &util.SimpleHead{Kind: "StorageClass"},
},
{
Name: "!",
Head: &util.SimpleHead{Kind: "HonkyTonkSet"},
Expand Down Expand Up @@ -128,8 +132,8 @@ func TestKindSorter(t *testing.T) {
order SortOrder
expected string
}{
{"install", InstallOrder, "abcdefghijklmnopqrstuvw!"},
{"uninstall", UninstallOrder, "wvmutsrqponlkjihgfedcba!"},
{"install", InstallOrder, "abcde1fghijklmnopqrstuvw!"},
{"uninstall", UninstallOrder, "wvmutsrqponlkjihgf1edcba!"},
} {
var buf bytes.Buffer
t.Run(test.description, func(t *testing.T) {
Expand Down

0 comments on commit 333f8dd

Please sign in to comment.