extract_affecting_use: test bug #363073
authorZac Medico <zmedico@gentoo.org>
Mon, 11 Apr 2011 23:00:02 +0000 (16:00 -0700)
committerZac Medico <zmedico@gentoo.org>
Wed, 13 Apr 2011 07:50:34 +0000 (00:50 -0700)
pym/portage/tests/dep/testExtractAffectingUSE.py

index f998bbbb7c56379f3d060787501a348a226bf90a..c37787d144a2883ea3c26ca8a37cca7ef3c9f519 100644 (file)
@@ -36,6 +36,9 @@ class TestExtractAffectingUSE(TestCase):
                        ("a? ( A )", "B", []),
 
                        ("a? ( || ( A B ) )", "B", ["a"]),
+
+                       # test USE dep defaults for bug #363073
+                       ("a? ( >=dev-lang/php-5.2[pcre(+)] )", ">=dev-lang/php-5.2[pcre(+)]", ["a"]),
                )
 
                test_cases_xfail = (