mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 14:30:09 +01:00
cli usability improvements
This commit is contained in:
parent
86a321b287
commit
3efb72dd3c
5 changed files with 143 additions and 79 deletions
|
|
@ -566,7 +566,7 @@ def test_v1_bump_semver_warning(runner, caplog, version_pattern):
|
|||
assert result.exit_code == 1
|
||||
|
||||
assert any("version did not change" in r.message for r in caplog.records)
|
||||
assert any("--major/--minor/--patch required" in r.message for r in caplog.records)
|
||||
assert any("[--major/--minor/--patch] required" in r.message for r in caplog.records)
|
||||
|
||||
result = runner.invoke(cli.cli, ['bump', "-vv", "-n", "--dry", "--patch"])
|
||||
assert result.exit_code == 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue