projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2abe696
)
Add test case for consecutive hyphens. (trunk r13186)
author
Zac Medico
<zmedico@gentoo.org>
Fri, 27 Mar 2009 04:30:39 +0000
(
04:30
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 27 Mar 2009 04:30:39 +0000
(
04:30
-0000)
svn path=/main/branches/2.1.6/; revision=13215
pym/portage/tests/dep/test_isvalidatom.py
patch
|
blob
|
history
diff --git
a/pym/portage/tests/dep/test_isvalidatom.py
b/pym/portage/tests/dep/test_isvalidatom.py
index 6565b96a7b84f32b3418a8af020f2899bba82dde..a10d730b360aa3bbeca0fcb2dfe093df9957f9b2 100644
(file)
--- a/
pym/portage/tests/dep/test_isvalidatom.py
+++ b/
pym/portage/tests/dep/test_isvalidatom.py
@@
-64,6
+64,9
@@
class IsValidAtom(TestCase):
( "=null/portage-2.1*", True ),
( "=foo/bar-123-1", True ),
( "=foo/bar-123-1-r1", True ),
+ ( "=foo/bar--baz-1-r1", False ),
+ ( "=foo/bar-baz--1-r1", False ),
+ ( "=foo/bar-baz-1--r1", False ),
]
for test in tests: