mirror of
https://github.com/coredns/coredns.git
synced 2025-08-10 08:17:01 +02:00
Enable the usetesting linter in golangci.yml configuration to enforce proper testing practices. Replace manual temporary directory and file creation with t.TempDir() in test files. This improves test reliability by ensuring proper cleanup and follows Go testing best practices. Signed-off-by: Ville Vesilehto <ville@vesilehto.fi> |
||
---|---|---|
.. | ||
all.go | ||
auth_walk.go | ||
elem.go | ||
glue.go | ||
less_test.go | ||
less.go | ||
print_test.go | ||
print.go | ||
tree.go | ||
walk.go |