projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1845d6
)
Add test case for consecutive hyphens.
author
Zac Medico
<zmedico@gentoo.org>
Wed, 25 Mar 2009 23:50:16 +0000
(23:50 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 25 Mar 2009 23:50:16 +0000
(23:50 -0000)
svn path=/main/trunk/; revision=13186
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: