mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 00:34:24 -04:00
test(plugin): improve tests for auto (#7348)
This commit is contained in:
@@ -18,6 +18,7 @@ www IN A 127.0.0.1
|
||||
`
|
||||
|
||||
func TestWalk(t *testing.T) {
|
||||
t.Parallel()
|
||||
tempdir, err := createFiles(t)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
@@ -45,6 +46,7 @@ func TestWalk(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestWalkNonExistent(t *testing.T) {
|
||||
t.Parallel()
|
||||
nonExistingDir := "highly_unlikely_to_exist_dir"
|
||||
|
||||
ldr := loader{
|
||||
|
||||
Reference in New Issue
Block a user