Consolidate the files in client/

Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
Daniel Nephin
2016-04-25 12:05:42 -04:00
parent 315e242b9c
commit ec6cc96fa1
5 changed files with 41 additions and 50 deletions

15
usage_test.go Normal file
View File

@ -0,0 +1,15 @@
package main
import (
"sort"
"testing"
"github.com/docker/docker/cli"
)
// Tests if the subcommands of docker are sorted
func TestDockerSubcommandsAreSorted(t *testing.T) {
if !sort.IsSorted(byName(cli.DockerCommandUsage)) {
t.Fatal("Docker subcommands are not in sorted order")
}
}