From: Zac Medico Date: Wed, 25 Mar 2009 23:50:16 +0000 (-0000) Subject: Add test case for consecutive hyphens. X-Git-Tag: v2.2_rc28~13 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=299e621e4c94af84b9a60f87af6813ab070e3d67;p=portage.git Add test case for consecutive hyphens. svn path=/main/trunk/; revision=13186 --- diff --git a/pym/portage/tests/dep/test_isvalidatom.py b/pym/portage/tests/dep/test_isvalidatom.py index 6565b96a7..a10d730b3 100644 --- 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: