(t *testing.T)
| 152 | } |
| 153 | |
| 154 | func TestAliasController_UnsetAlias_NoMatch(t *testing.T) { |
| 155 | cfg, _ := setupAliasConfig(t) |
| 156 | |
| 157 | ctrl := NewAliasController("192.168.1.1", cfg, "nonexistent") |
| 158 | result := ctrl.UnsetAlias() |
| 159 | assert.False(t, result) // No matching alias, should return false |
| 160 | } |
| 161 | |
| 162 | func TestAliasController_SetAlias_NoMatchingIp(t *testing.T) { |
| 163 | cfg, _ := setupAliasConfig(t) |
nothing calls this directly
no test coverage detected