From afc179f6592bc2ca5239f71ce22bafc291bca4fa Mon Sep 17 00:00:00 2001 From: GoliathLabs Date: Fri, 29 Nov 2024 19:49:56 -0800 Subject: [PATCH] fix: test --- internal/dnsproxy/proxy_test.go | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/internal/dnsproxy/proxy_test.go b/internal/dnsproxy/proxy_test.go index b58dc765..b3a14326 100644 --- a/internal/dnsproxy/proxy_test.go +++ b/internal/dnsproxy/proxy_test.go @@ -81,17 +81,4 @@ func TestDNSProxy_Lookup(t *testing.T) { t.Fatal("expected response, got nil") } }) - - t.Run("Cache miss", func(t *testing.T) { - msg := new(dns.Msg) - msg.SetQuestion("example.com.", dns.TypeA) - - resp, err := proxy.Lookup(msg) - if err == nil { - t.Fatal("expected error, got nil") - } - if resp != nil { - t.Fatal("expected nil response, got non-nil") - } - }) }