projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4c00ba
)
Add test cases for implicit .0 at end of version. (trunk r15160)
author
Zac Medico
<zmedico@gentoo.org>
Fri, 29 Jan 2010 18:44:05 +0000
(18:44 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 29 Jan 2010 18:44:05 +0000
(18:44 -0000)
svn path=/main/branches/2.1.7/; revision=15228
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 6af90956759435c0fd9249546a05e9fc18d74b21..22ab2aa102717bf0c6cdadf3293ebe59bc36b2b2 100644
(file)
--- 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: