16 lines
247 B
Go
16 lines
247 B
Go
package keys
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"gotest.tools/v3/assert"
|
|
)
|
|
|
|
func TestCommands(t *testing.T) {
|
|
rootCommands := Commands()
|
|
assert.Assert(t, rootCommands != nil)
|
|
|
|
// Commands are registered
|
|
assert.Equal(t, 12, len(rootCommands.Commands()))
|
|
}
|