From be5fa5c485bcc7c413d828c1cc0aade4a1c816fe Mon Sep 17 00:00:00 2001 From: ThinkChaos Date: Tue, 21 Nov 2023 12:16:35 -0500 Subject: [PATCH] squash: make linter happy: single models import --- resolver/upstream_resolver_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resolver/upstream_resolver_test.go b/resolver/upstream_resolver_test.go index 37f07fcc8..cc3512b61 100644 --- a/resolver/upstream_resolver_test.go +++ b/resolver/upstream_resolver_test.go @@ -11,7 +11,6 @@ import ( "github.com/0xERR0R/blocky/config" . "github.com/0xERR0R/blocky/helpertest" "github.com/0xERR0R/blocky/log" - "github.com/0xERR0R/blocky/model" . "github.com/0xERR0R/blocky/model" "github.com/0xERR0R/blocky/util" "github.com/miekg/dns" @@ -172,7 +171,7 @@ var _ = Describe("UpstreamResolver", Label("upstreamResolver"), func() { It("should retry with UDP", func() { req := newRequest("example.com.", A) - req.Protocol = model.RequestProtocolTCP + req.Protocol = RequestProtocolTCP Expect(sut.Resolve(ctx, req)). Should(