mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
4d212f7853
Signed-off-by: Ankush Agarwal <ankushagarwal11@gmail.com>
13 lines
252 B
Go
13 lines
252 B
Go
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")
|
|
}
|
|
}
|