diff options
author | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2013-03-20 02:02:02 +0100 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2013-03-20 02:02:02 +0100 |
commit | f84d754af1ae86aaa9a891445d6ae5be36668a85 (patch) | |
tree | d56cb28242391a2d05b3601efd03202298e00cb3 /tests/test_base.py | |
parent | 658ac42850e3b4c4923365287d55ec17be4806de (diff) | |
download | semantic-version-f84d754af1ae86aaa9a891445d6ae5be36668a85.tar.gz |
Fix handling of partial versions (Closes #1).
Diffstat (limited to 'tests/test_base.py')
-rwxr-xr-x | tests/test_base.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_base.py b/tests/test_base.py index 52d2e84..90dbe96 100755 --- a/tests/test_base.py +++ b/tests/test_base.py @@ -197,6 +197,7 @@ class SpecItemTestCase(unittest.TestCase): '<=0.1.1+': (base.SpecItem.KIND_LTE, 0, 1, 1, (), ()), '<0.1.1': (base.SpecItem.KIND_LT, 0, 1, 1, None, None), '<=0.1.1': (base.SpecItem.KIND_LTE, 0, 1, 1, None, None), + '<=0.1.1-': (base.SpecItem.KIND_LTE, 0, 1, 1, (), None), '>=0.2.3-rc2': (base.SpecItem.KIND_GTE, 0, 2, 3, ('rc2',), None), '>0.2.3-rc2+': (base.SpecItem.KIND_GT, 0, 2, 3, ('rc2',), ()), '>=2.0.0': (base.SpecItem.KIND_GTE, 2, 0, 0, None, None), |