cosmos-sdk/client/keys/root_test.go
mergify[bot] 9a0ca3338f
refactor(keys): remove duplicate --home flag (backport #17197) (#17212)
Co-authored-by: zakir <80246097+zakir-code@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-31 10:23:03 +00:00

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()))
}