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

Function TestNewCreateCommand_Structure

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

Source from the content-addressed store, hash-verified

37}
38
39func TestNewCreateCommand_Structure(t *testing.T) {
40 cmd := NewCreateCommand()
41
42 assert.NotNil(t, cmd)
43 assert.Equal(t, "create [command]", cmd.Use)
44 assert.Contains(t, cmd.Short, "Create alternative")
45 assert.Equal(t, "Create alternative username, port number, password, and login cache information", cmd.Long)
46}
47
48func TestNewCreateCommand_Aliases(t *testing.T) {
49 cmd := NewCreateCommand()

Callers

nothing calls this directly

Calls 1

NewCreateCommandFunction · 0.85

Tested by

no test coverage detected