Skip to content

Commit

Permalink
⚡ QD-9824 Fix windows test
Browse files Browse the repository at this point in the history
  • Loading branch information
avafanasiev committed Sep 2, 2024
1 parent 3617acd commit 9e034c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/git_changes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ func TestChangesCalculation(t *testing.T) {

for _, file := range commits.Files {
relPath, _ := filepath.Rel(repo, file.Path)
file.Path = filepath.Clean(relPath)
file.Path = strings.ReplaceAll(relPath, string(os.PathSeparator), "/")
}
assert.NoError(t, err)
jsonCommits, err := json.MarshalIndent(commits, "", " ")
Expand Down

0 comments on commit 9e034c0

Please sign in to comment.