Add a test case for the new case which is detected by isvalidatom().
authorZac Medico <zmedico@gentoo.org>
Sun, 15 Feb 2009 05:13:26 +0000 (05:13 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 15 Feb 2009 05:13:26 +0000 (05:13 -0000)
svn path=/main/trunk/; revision=12617

pym/portage/tests/dep/test_isvalidatom.py

index cd501e90da717faa56596e1f016f108a1240d6df..1364a92a2d34fb537949f730f3ed16619eb18afa 100644 (file)
@@ -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 ),]