Fix logical error

This commit is contained in:
erik 2023-02-20 17:07:14 +01:00
parent f96733f8b5
commit 156d336314

View file

@ -32,7 +32,7 @@ def test_version():
version.increment(ReleaseType.BUMP)
assert version.get_version_string() == "1.2.4-SNAPSHOT"
assert version.version_list == [1, 2, 4]
assert not version.is_snapshot
assert version.is_snapshot
version.increment(ReleaseType.PATCH)
assert version.get_version_string() == "1.2.5"