(t *testing.T)
| 342 | } |
| 343 | |
| 344 | func TestNewKeysCommand_Run_DuplicateKey(t *testing.T) { |
| 345 | cleanup := setupTempConfig(t) |
| 346 | defer cleanup() |
| 347 | |
| 348 | cmd := NewKeysCommand() |
| 349 | cmd.Run(cmd, []string{"/home/user/.ssh/id_rsa"}) |
| 350 | |
| 351 | cmd2 := NewKeysCommand() |
| 352 | cmd2.Run(cmd2, []string{"/home/user/.ssh/id_rsa"}) |
| 353 | } |
| 354 | |
| 355 | func TestNewCachesCommand_NoArgsConstraint(t *testing.T) { |
| 356 | cmd := NewCachesCommand() |
nothing calls this directly
no test coverage detected