From 51e509c280c785758a36657525e3f64bf86e992e Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Wed, 8 Jan 2020 19:38:53 +0900 Subject: [PATCH] Fix test for Windows --- mmv_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mmv_test.go b/mmv_test.go index 48435ca..6ba3b4c 100644 --- a/mmv_test.go +++ b/mmv_test.go @@ -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 {