Fix test for Windows

This commit is contained in:
Yasuhiro Matsumoto 2020-01-08 19:38:53 +09:00
parent 4ca8bb541c
commit 51e509c280
No known key found for this signature in database
GPG key ID: 622DE34DC490584B

View file

@ -293,7 +293,7 @@ func fileContents(dir string) map[string]string {
} else {
path := filepath.Join(dir, fi.Name())
cnt, _ := ioutil.ReadFile(path)
m[path] = string(cnt)
m[filepath.ToSlash(path)] = string(cnt)
}
}
if len(m) == 0 {