mirror of
https://github.com/coredns/coredns.git
synced 2025-11-01 02:33:14 -04:00
test: add t.Helper() calls to test helper functions (#7351)
This commit is contained in:
@@ -140,6 +140,7 @@ func TestView(t *testing.T) {
|
||||
}
|
||||
|
||||
func viewTest(t *testing.T, testName, addr, qname string, qtype uint16, expectRcode int, expectAnswers []dns.RR) {
|
||||
t.Helper()
|
||||
t.Run(testName, func(t *testing.T) {
|
||||
m := new(dns.Msg)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user