Skip to content

Commit

Permalink
squash: make linter happy: single models import
Browse files Browse the repository at this point in the history
  • Loading branch information
ThinkChaos committed Nov 21, 2023
1 parent 6537089 commit be5fa5c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions resolver/upstream_resolver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit be5fa5c

Please sign in to comment.