Skip to content

Commit

Permalink
Slashes reversed
Browse files Browse the repository at this point in the history
Signed-off-by: Kimmo Lehto <[email protected]>
  • Loading branch information
kke committed Dec 21, 2023
1 parent b2f3f50 commit 414895e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/rig_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ var (
)

func pathBase(p string) string {
return path.Base(strings.ReplaceAll(p, "/", "\\"))
return path.Base(strings.ReplaceAll(p, "\\", "/"))
}

func pathDir(p string) string {
return path.Dir(strings.ReplaceAll(p, "/", "\\"))
return path.Dir(strings.ReplaceAll(p, "\\", "/"))
}

func TestMain(m *testing.M) {
Expand Down

0 comments on commit 414895e

Please sign in to comment.