Skip to content

Commit f3f28ef

Browse files
committed
test(bump_command): replace \ as / for windows test cases
1 parent 0aa9362 commit f3f28ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/commands/test_bump_command.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ def test_bump_major_version_zero_when_major_is_not_zero(mocker, tmp_commitizen_p
349349
tmp_version_file = tmp_commitizen_project.join("__version__.py")
350350
tmp_version_file.write("1.0.0")
351351
tmp_commitizen_cfg_file = tmp_commitizen_project.join("pyproject.toml")
352+
tmp_version_file_string = str(tmp_version_file).replace("\\", "/")
352353
tmp_commitizen_cfg_file.write(
353354
f"[tool.commitizen]\n"
354355
'version="1.0.0"\n'

0 commit comments

Comments
 (0)