From 156d33631404b6b8e1e3c5bf00c1b03cc3c58f6d Mon Sep 17 00:00:00 2001 From: erik Date: Mon, 20 Feb 2023 17:07:14 +0100 Subject: [PATCH] Fix logical error --- test/test_version_class.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_version_class.py b/test/test_version_class.py index aaad5af..9607ab4 100644 --- a/test/test_version_class.py +++ b/test/test_version_class.py @@ -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"