(t *testing.T)
| 35 | } |
| 36 | |
| 37 | func TestNewSSHCommand_Structure(t *testing.T) { |
| 38 | cmd := NewSSHCommand() |
| 39 | |
| 40 | assert.NotNil(t, cmd) |
| 41 | assert.Equal(t, "ssh <ipAddress>", cmd.Use) |
| 42 | assert.Equal(t, "Connect to the server through SSH protocol", cmd.Short) |
| 43 | assert.Equal(t, "Connect to the server through SSH protocol", cmd.Long) |
| 44 | assert.NotNil(t, cmd.Run) |
| 45 | } |
| 46 | |
| 47 | func TestNewSSHCommand_Flags(t *testing.T) { |
| 48 | cmd := NewSSHCommand() |
nothing calls this directly
no test coverage detected