(t *testing.T)
| 7 | ) |
| 8 | |
| 9 | func 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 | |
| 18 | func TestNewTrysshCommand_Subcommands(t *testing.T) { |
| 19 | rootCmd := NewTrysshCommand() |
nothing calls this directly
no test coverage detected