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

Function TestNewAliasCommand_Structure

cmd/alias/alias_test.go:79–85  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

77}
78
79func TestNewAliasCommand_Structure(t *testing.T) {
80 cmd := NewAliasCommand()
81
82 assert.NotNil(t, cmd)
83 assert.Equal(t, "alias <subCommand> [flags]", cmd.Use)
84 assert.Contains(t, cmd.Short, "Set, unset, and list aliases")
85}
86
87func TestNewAliasCommand_Long(t *testing.T) {
88 cmd := NewAliasCommand()

Callers

nothing calls this directly

Calls 1

NewAliasCommandFunction · 0.85

Tested by

no test coverage detected