Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix test failing on unix
  • Loading branch information
Andrej730 committed Sep 14, 2024
commit 8327b82a1079f667006f649cb3f1bbdcc8792955
2 changes: 1 addition & 1 deletion test/test_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -1189,7 +1189,7 @@ def test_index_add_non_normalized_path(self, rw_repo):
file.touch()
non_normalized_path = file.as_posix()
if os.name != "nt":
non_normalized_path = non_normalized_path.replace("/", "\\")
non_normalized_path = "/" + non_normalized_path[1:].replace("/", "//")

rw_repo.index.add(non_normalized_path)

Expand Down