Add test case for * operator with missing =.
authorZac Medico <zmedico@gentoo.org>
Tue, 8 Sep 2009 18:15:38 +0000 (18:15 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 8 Sep 2009 18:15:38 +0000 (18:15 -0000)
svn path=/main/trunk/; revision=14220

pym/portage/tests/dep/test_isvalidatom.py

index 9fa878e1f295d7e202cb913517d7237a61f07e3b..aa63ac1169a1f76b9069ad15ae732fbd63d14d6c 100644 (file)
@@ -62,6 +62,7 @@ class IsValidAtom(TestCase):
                          ( ">=null/portage-2.1", True ),
                          ( "~null/portage-2.1", True ),
                          ( "=null/portage-2.1*", True ),
+                         ( "null/portage-2.1*", False ),
 
                        # These are invalid because pkg name must not end in hyphen
                        # followed by numbers