mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
Tidy up most errors and warnings from lint tools. (#165)
This commit is contained in:
@@ -23,7 +23,7 @@ func TestStubLookup(t *testing.T) {
|
||||
m := tc.Msg()
|
||||
|
||||
rec := middleware.NewResponseRecorder(&test.ResponseWriter{})
|
||||
_, err := etc.ServeDNS(ctx, rec, m)
|
||||
_, err := etc.ServeDNS(ctxt, rec, m)
|
||||
if err != nil {
|
||||
if tc.Rcode != dns.RcodeServerFailure {
|
||||
t.Errorf("expected no error, got %v\n", err)
|
||||
|
||||
Reference in New Issue
Block a user