File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -348,11 +348,12 @@ def test_bump_when_version_inconsistent_in_version_files(
348
348
def test_bump_major_version_zero_when_major_is_not_zero (mocker , tmp_commitizen_project ):
349
349
tmp_version_file = tmp_commitizen_project .join ("__version__.py" )
350
350
tmp_version_file .write ("1.0.0" )
351
+ tmp_version_file_string = str (tmp_version_file ).replace ("\\ " , "/" )
351
352
tmp_commitizen_cfg_file = tmp_commitizen_project .join ("pyproject.toml" )
352
353
tmp_commitizen_cfg_file .write (
353
354
f"[tool.commitizen]\n "
354
355
'version="1.0.0"\n '
355
- f'version_files = ["{ str (tmp_version_file )} "]'
356
+ f'version_files = ["{ str (tmp_version_file_string )} "]'
356
357
)
357
358
tmp_changelog_file = tmp_commitizen_project .join ("CHANGELOG.md" )
358
359
tmp_changelog_file .write ("## v1.0.0" )
You can’t perform that action at this time.
0 commit comments