More cases.
authorZac Medico <zmedico@gentoo.org>
Mon, 4 Jan 2010 21:05:46 +0000 (21:05 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 4 Jan 2010 21:05:46 +0000 (21:05 -0000)
svn path=/main/trunk/; revision=15165

pym/portage/tests/versions/test_vercmp.py

index b44f85acaca1e2677cb41c65bdc9a1808c2ddace..9de3344ce14931e6936a294f40a63137baf136fd 100644 (file)
@@ -20,6 +20,7 @@ class VerCmpTestCase(TestCase):
                        ("1.0.0", "1.0"),
                        ("1.0b", "1.0.0"),
                        ("1b", "1"),
+                       ("1b_p1", "1_p1"),
                        ("1.1b", "1.1"),
                        ("12.2b", "12.2.5"),
                ]
@@ -41,6 +42,7 @@ class VerCmpTestCase(TestCase):
                        ("1.0", "1.0-r1"),
                        ("1.0", "1.0.0"),
                        ("1.0.0", "1.0b"),
+                       ("1_p1", "1b_p1"),
                        ("1", "1b"),
                        ("1.1", "1.1b"),
                        ("12.2.5", "12.2b"),
@@ -70,6 +72,7 @@ class VerCmpTestCase(TestCase):
                        ("1.0", "1.0-r1"),
                        ("1.0-r1", "1.0"),
                        ("1.0", "1.0.0"),
+                       ("1_p1", "1b_p1"),
                        ("1b", "1"),
                        ("1.1b", "1.1"),
                        ("12.2b", "12.2"),