16 lines
251 B
Go
16 lines
251 B
Go
|
package keys
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"github.com/stretchr/testify/assert"
|
||
|
)
|
||
|
|
||
|
func TestCommands(t *testing.T) {
|
||
|
rootCommands := Commands()
|
||
|
assert.NotNil(t, rootCommands)
|
||
|
|
||
|
// Commands are registered
|
||
|
assert.Equal(t, 7, len(rootCommands.Commands()))
|
||
|
}
|