mirror of
https://github.com/coredns/coredns.git
synced 2026-04-05 11:45:33 -04:00
lint(revive): fix unreachable-code violation (#7979)
This commit is contained in:
@@ -157,7 +157,7 @@ func TestHandlerStartupInvalidAddress(t *testing.T) {
|
||||
|
||||
err := h.Startup()
|
||||
if err == nil {
|
||||
t.Fatal("Expected error for invalid address format")
|
||||
defer h.Shutdown()
|
||||
t.Fatal("Expected error for invalid address format")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user