Co-authored-by: zakir <80246097+zakir-code@users.noreply.github.com> Co-authored-by: Julien Robert <julien@rbrt.fr>
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, 11, len(rootCommands.Commands()))
|
|
}
|