diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-01-04 19:28:09 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-01-04 19:28:09 +0000 |
commit | 9f6ffeb8b0216316ad17a34f78144f0cd5a4c15b (patch) | |
tree | d520e9b8bb14d27828c9b5c84c2f04021f109b01 | |
parent | a0b08a311ded812aae0058f46d9c45271b24bdc8 (diff) | |
download | portage-9f6ffeb8b0216316ad17a34f78144f0cd5a4c15b.tar.gz portage-9f6ffeb8b0216316ad17a34f78144f0cd5a4c15b.tar.bz2 portage-9f6ffeb8b0216316ad17a34f78144f0cd5a4c15b.zip |
Add test cases for implicit .0 at end of version.
svn path=/main/trunk/; revision=15160
-rw-r--r-- | pym/portage/tests/versions/test_vercmp.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/portage/tests/versions/test_vercmp.py b/pym/portage/tests/versions/test_vercmp.py index 6af909567..22ab2aa10 100644 --- a/pym/portage/tests/versions/test_vercmp.py +++ b/pym/portage/tests/versions/test_vercmp.py @@ -16,6 +16,7 @@ class VerCmpTestCase(TestCase): ("1.0-r1", "1.0-r0"), ("1.0-r1", "1.0"), ("999999999999999999999999999999", "999999999999999999999999999998"), + ("1.0.0", "1.0"), ("12.2.5", "12.2b"), ] for test in tests: @@ -33,6 +34,7 @@ class VerCmpTestCase(TestCase): ("1.01", "1.1"), ("1.0-r0", "1.0-r1"), ("1.0", "1.0-r1"), + ("1.0", "1.0.0"), ("12.2b", "12.2.5"), ] for test in tests: @@ -58,6 +60,7 @@ class VerCmpTestCase(TestCase): ("1.0-r1", "1.0-r0"), ("1.0", "1.0-r1"), ("1.0-r1", "1.0"), + ("1.0", "1.0.0"), ("12.2b", "12.2"), ] for test in tests: |