2019-02-08 12:45:23 -08:00
|
|
|
package keys
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
|
|
)
|
|
|
|
|
|
|
|
func TestCommands(t *testing.T) {
|
|
|
|
rootCommands := Commands()
|
|
|
|
assert.NotNil(t, rootCommands)
|
|
|
|
|
|
|
|
// Commands are registered
|
2019-09-30 08:49:12 -07:00
|
|
|
assert.Equal(t, 11, len(rootCommands.Commands()))
|
2019-02-08 12:45:23 -08:00
|
|
|
}
|