summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-02-15 05:13:26 +0000
committerZac Medico <zmedico@gentoo.org>2009-02-15 05:13:26 +0000
commit8ea60f7e3a5043aec5497bbaea312fc1ac30d8f9 (patch)
tree63ad35f212fd188bd2b70b50c57dd444c829e59a
parent95ae806152673f2e55f6b41b99216e54cc87e2a2 (diff)
downloadportage-8ea60f7e3a5043aec5497bbaea312fc1ac30d8f9.tar.gz
portage-8ea60f7e3a5043aec5497bbaea312fc1ac30d8f9.tar.bz2
portage-8ea60f7e3a5043aec5497bbaea312fc1ac30d8f9.zip
Add a test case for the new case which is detected by isvalidatom().
svn path=/main/trunk/; revision=12617
-rw-r--r--pym/portage/tests/dep/test_isvalidatom.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage/tests/dep/test_isvalidatom.py b/pym/portage/tests/dep/test_isvalidatom.py
index cd501e90d..1364a92a2 100644
--- a/pym/portage/tests/dep/test_isvalidatom.py
+++ b/pym/portage/tests/dep/test_isvalidatom.py
@@ -57,6 +57,7 @@ class IsValidAtom(TestCase):
( "null/portage", True ),
( "=null/portage", False ),
( "=null/portage*", False ),
+ ( "null/portage*:0", False ),
( ">=null/portage-2.1", True ),
( "~null/portage-2.1", True ),
( "=null/portage-2.1*", True ),]