From: Zac Medico Date: Fri, 27 Mar 2009 04:30:39 +0000 (-0000) Subject: Add test case for consecutive hyphens. (trunk r13186) X-Git-Tag: v2.1.6.11~12 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5b39bba44e2ece3aa75e6dcd934be87068596b05;p=portage.git Add test case for consecutive hyphens. (trunk r13186) svn path=/main/branches/2.1.6/; revision=13215 --- 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: