Skip to content

Commit

Permalink
fix(#1426): separator
Browse files Browse the repository at this point in the history
  • Loading branch information
maxonfjvipon committed Oct 18, 2024
1 parent a22b975 commit c8c3a38
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ void buildsValidVersionPath(final String version, final String hash, final Strin
MatcherAssert.assertThat(
"Cache version must return valid path, but it didn't",
new Cache.Version(version, hash).path().toString(),
Matchers.equalTo(res.replace("|", File.pathSeparator))
Matchers.equalTo(res.replace("|", File.separator))
);
}

Expand All @@ -109,7 +109,7 @@ void buildsValidFullPath(
new Cache.Version(version, hash),
Paths.get(rel)
).path().toString(),
Matchers.equalTo(res.replace("|", File.pathSeparator))
Matchers.equalTo(res.replace("|", File.separator))
);
}
}

0 comments on commit c8c3a38

Please sign in to comment.