Skip to content

Commit

Permalink
Fix path for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
k1LoW committed Jan 24, 2024
1 parent 082e500 commit 3b794ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ratio/ratio_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down

0 comments on commit 3b794ec

Please sign in to comment.