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

Function TestNewPasswordsCommand_StructureDetails

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

Source from the content-addressed store, hash-verified

375}
376
377func TestNewPasswordsCommand_StructureDetails(t *testing.T) {
378 cmd := NewPasswordsCommand()
379 assert.Equal(t, "passwords", cmd.Use)
380 assert.Equal(t, []string{"password", "pass", "pwd"}, cmd.Aliases)
381 assert.Equal(t, "Create an alternative password", cmd.Short)
382 assert.NotNil(t, cmd.Run)
383}
384
385func TestNewPasswordsCommand_NoArgsRequired(t *testing.T) {
386 cmd := NewPasswordsCommand()

Callers

nothing calls this directly

Calls 1

NewPasswordsCommandFunction · 0.70

Tested by

no test coverage detected