diff --git a/tests/test_version.py b/tests/test_version.py index f2e47ba7b8856572fafd9452dc233549fa69815e..b52437f1894f159eb1643ce5279278d7de3264bf 100644 --- a/tests/test_version.py +++ b/tests/test_version.py @@ -18,12 +18,17 @@ import fsl.version as fslversion def test_parseVersionString(): tests = [ - ('0.0.0', [0, 0, 0]), - ('0.0.10', [0, 0, 10]), - ('10.0.10', [10, 0, 10]), - ('10.10.10', [10, 10, 10]), - ('10.10.10.dev', [10, 10, 10]), - ('10.10.10.dev0', [10, 10, 10]), + ('0.0.0', [0, 0, 0]), + ('0.0.10', [0, 0, 10]), + ('10.0.10', [10, 0, 10]), + ('10.10.10', [10, 10, 10]), + ('10.10.10.dev', [10, 10, 10]), + ('10.10.10.dev0', [10, 10, 10]), + ('10.10.10.dev0', [10, 10, 10]), + ('10.10.10+build1', [10, 10, 10]), + ('10.10.10+buildB', [10, 10, 10]), + ('10.10.10.dev0+build4', [10, 10, 10]), + # old-style hotfix release numbers ('10.10.10a', [10, 10, 10]), @@ -45,6 +50,7 @@ def test_parseVersionString_bad(): 'a.5.5', '5.5.a', '5.5.a', + '5.5+build0', ] for test in tests: