MCPcopy Create free account
hub / github.com/Driver-C/tryssh / TestNewCreateCommand_Aliases

Function TestNewCreateCommand_Aliases

cmd/create/create_test.go:48–53  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

46}
47
48func TestNewCreateCommand_Aliases(t *testing.T) {
49 cmd := NewCreateCommand()
50
51 expectedAliases := []string{"cre", "crt", "add"}
52 assert.Equal(t, expectedAliases, cmd.Aliases)
53}
54
55func TestNewCreateCommand_Subcommands(t *testing.T) {
56 cmd := NewCreateCommand()

Callers

nothing calls this directly

Calls 1

NewCreateCommandFunction · 0.85

Tested by

no test coverage detected