mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
test: add t.Helper() calls to test helper functions (#7351)
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
)
|
||||
|
||||
func getPEMFiles(t *testing.T) (cert, key, ca string) {
|
||||
t.Helper()
|
||||
tempDir, err := test.WritePEMFiles(t)
|
||||
if err != nil {
|
||||
t.Fatalf("Could not write PEM files: %s", err)
|
||||
|
||||
Reference in New Issue
Block a user