mirror of
https://github.com/coredns/coredns.git
synced 2025-11-19 18:32:16 -05:00
test: add t.Helper() calls to test helper functions (#7351)
This commit is contained in:
@@ -170,6 +170,7 @@ func TestLookupSecureDelegation(t *testing.T) {
|
||||
}
|
||||
|
||||
func testDelegation(t *testing.T, z, origin string, testcases []test.Case) {
|
||||
t.Helper()
|
||||
zone, err := Parse(strings.NewReader(z), origin, "stdin", 0)
|
||||
if err != nil {
|
||||
t.Fatalf("Expect no error when reading zone, got %q", err)
|
||||
|
||||
Reference in New Issue
Block a user