(t *testing.T)
| 210 | } |
| 211 | |
| 212 | func TestNewAliasSetCommand_Run_NoMatchingIP(t *testing.T) { |
| 213 | cleanup := setupTempConfigWithServers(t) |
| 214 | defer cleanup() |
| 215 | |
| 216 | cmd := NewAliasSetCommand() |
| 217 | _ = cmd.Flags().Set("target", "99.99.99.99") |
| 218 | cmd.Run(cmd, []string{"nope"}) |
| 219 | } |
| 220 | |
| 221 | func TestNewAliasSetCommand_Run_DuplicateAlias(t *testing.T) { |
| 222 | cleanup := setupTempConfigWithServers(t) |
nothing calls this directly
no test coverage detected