Skip to content

Commit

Permalink
[TEST] Fixes a remaining trace of vX.Y.Z version format
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel FORESTIER committed Sep 22, 2022
1 parent 43e7521 commit 3b261e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion archey/test/test_archey_utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,6 @@ def test_update_recursive(self):

def test_version_to_semver_segments(self):
"""Check `version_to_semver_segments` implementation"""
self.assertTupleEqual(Utility.version_to_semver_segments("v1.2.3"), (1, 2, 3))
self.assertTupleEqual(Utility.version_to_semver_segments("1.2.3"), (1, 2, 3))
self.assertTupleEqual(Utility.version_to_semver_segments("1.2.3.4-beta5"), (1, 2, 3, 4))
self.assertTupleEqual(Utility.version_to_semver_segments("1"), (1,))

0 comments on commit 3b261e9

Please sign in to comment.