Skip to content

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

+4-1
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)