Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2a39747

Browse files
marcossantiagoLee-W
authored andcommitted
test(bump_command): test if the version in the configuration file was updated when using the flag
1 parent df3a87d commit 2a39747

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎tests/commands/test_bump_command.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,9 @@ def test_bump_files_only(mocker, tmp_commitizen_project):
242242
with open(tmp_version_file, "r") as f:
243243
assert "0.3.0" in f.read()
244244

245+
with open(tmp_commitizen_cfg_file, "r") as f:
246+
assert "0.3.0" in f.read()
247+
245248

246249
def test_bump_local_version(mocker, tmp_commitizen_project):
247250
tmp_version_file = tmp_commitizen_project.join("__version__.py")

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /