full diff: https://github.com/gotestyourself/gotest.tools/compare/v2.3.0...v3.0.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 2c0e93063b)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
15 lines
217 B
Go
15 lines
217 B
Go
package engine
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"gotest.tools/v3/assert"
|
|
)
|
|
|
|
func TestNewEngineCommand(t *testing.T) {
|
|
cmd := NewEngineCommand(testCli)
|
|
|
|
subcommands := cmd.Commands()
|
|
assert.Assert(t, len(subcommands) == 3)
|
|
}
|