projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e73c31
)
Add some more cases for versions with letter suffixes.
author
Zac Medico
<zmedico@gentoo.org>
Mon, 4 Jan 2010 20:47:35 +0000
(20:47 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 4 Jan 2010 20:47:35 +0000
(20:47 -0000)
svn path=/main/trunk/; revision=15164
pym/portage/tests/versions/test_vercmp.py
patch
|
blob
|
history
diff --git
a/pym/portage/tests/versions/test_vercmp.py
b/pym/portage/tests/versions/test_vercmp.py
index b1624aefe313f4a83f3d314242f4f586ee33ce02..b44f85acaca1e2677cb41c65bdc9a1808c2ddace 100644
(file)
--- 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: