Tidy up most errors and warnings from lint tools. (#165)

This commit is contained in:
Joe Blow
2016-06-11 08:00:47 +10:00
committed by Miek Gieben
parent 255aa2e5d5
commit 2882991000
12 changed files with 26 additions and 26 deletions

View File

@@ -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)