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

Function TestNewAliasUnsetCommand_Structure

cmd/alias/alias_test.go:233–241  ·  view source on GitHub ↗

--- Unset command ---

(t *testing.T)

Source from the content-addressed store, hash-verified

231// --- Unset command ---
232
233func TestNewAliasUnsetCommand_Structure(t *testing.T) {
234 cmd := NewAliasUnsetCommand()
235
236 assert.NotNil(t, cmd)
237 assert.Equal(t, "unset <alias>", cmd.Use)
238 assert.Equal(t, "Unset the alias", cmd.Short)
239 assert.Equal(t, "Unset the alias", cmd.Long)
240 assert.NotNil(t, cmd.Run)
241}
242
243func TestNewAliasUnsetCommand_ArgsValidation(t *testing.T) {
244 cmd := NewAliasUnsetCommand()

Callers

nothing calls this directly

Calls 1

NewAliasUnsetCommandFunction · 0.85

Tested by

no test coverage detected