test(plugin): improve tests for auto (#7348)

This commit is contained in:
Ville Vesilehto
2025-06-05 00:37:52 +03:00
committed by GitHub
parent 11774d9e98
commit ddb74cdcf4
7 changed files with 644 additions and 24 deletions

View File

@@ -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{