Skip to content

Commit 1e16d6c

Browse files
committed
test(bump_command): remove english text in favor of just the tag number
1 parent ef5450d commit 1e16d6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/commands/test_bump_command.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def test_bump_tag_exists_raises_exception(mocker):
105105

106106
with pytest.raises(BumpTagFailedError) as excinfo:
107107
cli.main()
108-
assert "fatal: tag '0.2.0' already exists" in str(excinfo.value)
108+
assert "0.2.0" in str(excinfo.value) # This should be a fatal error
109109

110110

111111
@pytest.mark.usefixtures("tmp_commitizen_project")

0 commit comments

Comments
 (0)