Skip to content

Commit

Permalink
resolver: make resolver_test.go pass golint
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustav Paul committed Feb 17, 2017
1 parent 0f80f27 commit 8fb6cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resolver/resolver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func runHandlers() error {
var rw ResponseRecorder
tt.HandlerFunc(&rw, tt.Msg)
if got, want := rw.Msg, tt.Msg; !(Msg{got}).equivalent(Msg{want}) {
return fmt.Errorf("Test #%d\n%v\n%s\n", i, pretty.Sprint(tt.Msg.Question), pretty.Compare(got, want))
return fmt.Errorf("test #%d\n%v\n%s", i, pretty.Sprint(tt.Msg.Question), pretty.Compare(got, want))
}
}
return nil
Expand Down

0 comments on commit 8fb6cec

Please sign in to comment.