diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-01-04 20:47:35 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-01-04 20:47:35 +0000 |
commit | 95c55c0dcc4f63ffe2158cdc9414a82509718c92 (patch) | |
tree | 95d741d7271b992843b1405d2f50499182c36971 | |
parent | 1e73c3114a1bd1e416be5861878fb159156978ee (diff) | |
download | portage-95c55c0dcc4f63ffe2158cdc9414a82509718c92.tar.gz portage-95c55c0dcc4f63ffe2158cdc9414a82509718c92.tar.bz2 portage-95c55c0dcc4f63ffe2158cdc9414a82509718c92.zip |
Add some more cases for versions with letter suffixes.
svn path=/main/trunk/; revision=15164
-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 b1624aefe..b44f85aca 100644 --- a/pym/portage/tests/versions/test_vercmp.py +++ b/pym/portage/tests/versions/test_vercmp.py @@ -20,6 +20,7 @@ class VerCmpTestCase(TestCase): ("1.0.0", "1.0"), ("1.0b", "1.0.0"), ("1b", "1"), + ("1.1b", "1.1"), ("12.2b", "12.2.5"), ] for test in tests: @@ -41,6 +42,7 @@ class VerCmpTestCase(TestCase): ("1.0", "1.0.0"), ("1.0.0", "1.0b"), ("1", "1b"), + ("1.1", "1.1b"), ("12.2.5", "12.2b"), ] for test in tests: @@ -69,6 +71,7 @@ class VerCmpTestCase(TestCase): ("1.0-r1", "1.0"), ("1.0", "1.0.0"), ("1b", "1"), + ("1.1b", "1.1"), ("12.2b", "12.2"), ] for test in tests: |