diff --git a/make.go b/make.go index 0e4c5f82f..bf5547548 100644 --- a/make.go +++ b/make.go @@ -515,7 +515,9 @@ func walkDir(src string, opts walkOpts) (maxMod time.Time, err error) { } return nil } - if strings.HasPrefix(base, ".#") || !rxMirrored.MatchString(base) { + dir, _ := filepath.Split(path) + parent := filepath.Base(dir) + if (strings.HasPrefix(base, ".#") || !rxMirrored.MatchString(base)) && parent != "testdata" { return nil } suffix, err := filepath.Rel(src, path)