mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
test: add t.Helper() calls to test helper functions (#7351)
This commit is contained in:
@@ -55,6 +55,7 @@ func TestLookupBalanceRewriteCacheDnssec(t *testing.T) {
|
||||
}
|
||||
|
||||
func createKeyFile(t *testing.T) func() {
|
||||
t.Helper()
|
||||
os.WriteFile(base+".key",
|
||||
[]byte(`example.org. IN DNSKEY 256 3 13 tDyI0uEIDO4SjhTJh1AVTFBLpKhY3He5BdAlKztewiZ7GecWj94DOodg ovpN73+oJs+UfZ+p9zOSN5usGAlHrw==`),
|
||||
0644)
|
||||
|
||||
Reference in New Issue
Block a user