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 b26f408

Browse files
committed
test(bump): Add more MAJOR increment msgs for testing
1 parent fa532b6 commit b26f408

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎tests/commands/test_bump_command.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
@pytest.mark.usefixtures("tmp_commitizen_project")
3131
def test_bump_patch_increment(commit_msg, mocker):
3232
create_file_and_commit(commit_msg)
33-
# testargs = ["cz", "bump"]
3433
testargs = ["cz", "bump", "--yes"]
3534
mocker.patch.object(sys, "argv", testargs)
3635
cli.main()
@@ -54,7 +53,11 @@ def test_bump_minor_increment(commit_msg, mocker):
5453
"commit_msg",
5554
(
5655
"feat: new user interface\n\nBREAKING CHANGE: age is no longer supported",
56+
"feat!: new user interface\n\nBREAKING CHANGE: age is no longer supported",
57+
"feat!: new user interface",
5758
"feat(user): new user interface\n\nBREAKING CHANGE: age is no longer supported",
59+
"feat(user)!: new user interface\n\nBREAKING CHANGE: age is no longer supported",
60+
"feat(user)!: new user interface",
5861
"BREAKING CHANGE: age is no longer supported",
5962
"BREAKING-CHANGE: age is no longer supported",
6063
),

0 commit comments

Comments
(0)

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