Fix version instance

This commit is contained in:
erik 2023-02-20 17:05:30 +01:00
parent b06728c553
commit f96733f8b5

View file

@ -22,7 +22,7 @@ from version_repository import VersionRepository
from release_type import ReleaseType from release_type import ReleaseType
def test_version(): def test_version():
version = Version([1, 2, 3], False) version = Version([1, 2, 3])
version.increment(ReleaseType.SNAPSHOT) version.increment(ReleaseType.SNAPSHOT)
assert version.get_version_string() == "1.2.3-SNAPSHOT" assert version.get_version_string() == "1.2.3-SNAPSHOT"