mirror of https://github.com/docker/cli.git
15 lines
214 B
Go
15 lines
214 B
Go
|
package engine
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"gotest.tools/assert"
|
||
|
)
|
||
|
|
||
|
func TestNewEngineCommand(t *testing.T) {
|
||
|
cmd := NewEngineCommand(testCli)
|
||
|
|
||
|
subcommands := cmd.Commands()
|
||
|
assert.Assert(t, len(subcommands) == 5)
|
||
|
}
|