summaryrefslogtreecommitdiff
path: root/tests/test_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_base.py')
-rwxr-xr-xtests/test_base.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test_base.py b/tests/test_base.py
index 1fcce8c..24bf86e 100755
--- a/tests/test_base.py
+++ b/tests/test_base.py
@@ -506,6 +506,14 @@ class SpecItemTestCase(unittest.TestCase):
['1.1.3', '1.2.1', '1.1.2-alpha', '1.1.2-alpha+b1'],
['1.1.1', '2.1.0'],
),
+ '^0.1.2': (
+ ['0.1.2', '0.1.2-alpha', '0.1.3'],
+ ['0.2.0', '1.1.2', '0.1.1'],
+ ),
+ '^0.0.2': (
+ ['0.0.2', '0.0.2-alpha', '0.0.2+abb'],
+ ['0.1.0', '0.0.3', '1.0.0'],
+ ),
}
def test_matches(self):