mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 00:34:24 -04:00
test: add t.Helper() calls to test helper functions (#7351)
This commit is contained in:
@@ -45,6 +45,7 @@ func TestProxyToChaosServer(t *testing.T) {
|
||||
}
|
||||
|
||||
func chaosTest(t *testing.T, server string) {
|
||||
t.Helper()
|
||||
m := new(dns.Msg)
|
||||
m.Question = make([]dns.Question, 1)
|
||||
m.Question[0] = dns.Question{Qclass: dns.ClassCHAOS, Name: "version.bind.", Qtype: dns.TypeTXT}
|
||||
|
||||
Reference in New Issue
Block a user