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

Function TestNewTrysshCommand

cmd/cmd_test.go:9–16  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

7)
8
9func TestNewTrysshCommand(t *testing.T) {
10 rootCmd := NewTrysshCommand()
11
12 assert.NotNil(t, rootCmd)
13 assert.Equal(t, "tryssh [command]", rootCmd.Use)
14 assert.Equal(t, "A command line ssh terminal tool.", rootCmd.Short)
15 assert.Equal(t, "A command line ssh terminal tool.", rootCmd.Long)
16}
17
18func TestNewTrysshCommand_Subcommands(t *testing.T) {
19 rootCmd := NewTrysshCommand()

Callers

nothing calls this directly

Calls 1

NewTrysshCommandFunction · 0.85

Tested by

no test coverage detected