Commit 333f8dd3 authored by Taylor Thomas's avatar Taylor Thomas

fix(sorter): Adds missing unit test

Adds a unit test that was missed as part of #2961
parent 962191b9
......@@ -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"},
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment