blob: 28021ba4c9af07f6ecca4d648a81925f979fed55 [file] [log] [blame]
package main
import (
"sort"
"testing"
)
// Tests if the subcommands of docker are sorted
func TestDockerSubcommandsAreSorted(t *testing.T) {
if !sort.IsSorted(byName(dockerCommands)) {
t.Fatal("Docker subcommands are not in sorted order")
}
}