mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
test: add t.Helper() calls to test helper functions (#7351)
This commit is contained in:
@@ -57,6 +57,7 @@ func TestRewrite(t *testing.T) {
|
||||
}
|
||||
|
||||
func testMX(t *testing.T, server string) {
|
||||
t.Helper()
|
||||
m := new(dns.Msg)
|
||||
m.SetQuestion("example.com.", dns.TypeMX)
|
||||
|
||||
@@ -78,6 +79,7 @@ func testMX(t *testing.T, server string) {
|
||||
}
|
||||
|
||||
func testEdns0(t *testing.T, server string) {
|
||||
t.Helper()
|
||||
m := new(dns.Msg)
|
||||
m.SetQuestion("example.com.", dns.TypeA)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user