diff --git a/ratio/ratio_test.go b/ratio/ratio_test.go index be275996..2719ff4e 100644 --- a/ratio/ratio_test.go +++ b/ratio/ratio_test.go @@ -103,7 +103,7 @@ func TestPathMatch(t *testing.T) { if err != nil { t.Fatal(err) } - want := "ratio/ratio_test.go" + want := filepath.FromSlash("ratio/ratio_test.go") ok := false for _, f := range got.CodeFiles { if f.Path == want { @@ -124,7 +124,7 @@ func TestPathMatch(t *testing.T) { if err != nil { t.Fatal(err) } - want := "ratio/ratio_test.go" + want := filepath.FromSlash("ratio/ratio_test.go") ok := false for _, f := range got.CodeFiles { if f.Path == want {