Add review comments for version
This commit is contained in:
parent
64116edcb4
commit
6766691ee7
1 changed files with 2 additions and 0 deletions
|
@ -99,10 +99,12 @@ def test_should_create_major():
|
|||
assert sut.to_string() == "2.0.0"
|
||||
|
||||
def test_should_create_bump():
|
||||
# TODO: bom - 2023_05_11: Why does this not actually bump the version?
|
||||
version = Version.from_str("1.2.3-SNAPSHOT")
|
||||
sut = version.create_bump()
|
||||
assert sut.to_string() == "1.2.3-SNAPSHOT"
|
||||
|
||||
# TODO: bom - 2023_05_11: Why do we bump the minor version and not the patch?
|
||||
version = Version.from_str("1.2.3")
|
||||
sut = version.create_bump("SNAPSHOT")
|
||||
assert sut.to_string() == "1.3.0-SNAPSHOT"
|
||||
|
|
Loading…
Reference in a new issue