summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-06-09 07:28:14 -0700
committerZac Medico <zmedico@gentoo.org>2011-06-09 07:28:14 -0700
commita7f6576ff0b68e69a4c76402d6168ede39a69e5b (patch)
treea0b9f0d86355cef8f81ccac283c2698769e6c97a
parent1faa9bddc2859c73ce8984b43eca816c30bdb5f1 (diff)
downloadportage-a7f6576ff0b68e69a4c76402d6168ede39a69e5b.tar.gz
portage-a7f6576ff0b68e69a4c76402d6168ede39a69e5b.tar.bz2
portage-a7f6576ff0b68e69a4c76402d6168ede39a69e5b.zip
test_use_reduce: test empty parens (bug 370565)
-rw-r--r--pym/portage/tests/dep/test_use_reduce.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pym/portage/tests/dep/test_use_reduce.py b/pym/portage/tests/dep/test_use_reduce.py
index b89752fb4..ac815632a 100644
--- a/pym/portage/tests/dep/test_use_reduce.py
+++ b/pym/portage/tests/dep/test_use_reduce.py
@@ -568,7 +568,9 @@ class UseReduce(TestCase):
UseReduceTestCase("( || ( || bar? ( A ) foo? ( B ) ) )"),
UseReduceTestCase("foo?"),
UseReduceTestCase("foo? || ( A )"),
-
+ UseReduceTestCase("|| ( )"),
+ UseReduceTestCase("foo? ( )"),
+
#SRC_URI stuff
UseReduceTestCase("http://foo/bar -> blah.tbz2", is_src_uri = True, eapi = EAPI_WITHOUT_SRC_URI_ARROWS),
UseReduceTestCase("|| ( http://foo/bar -> blah.tbz2 )", is_src_uri = True, eapi = EAPI_WITH_SRC_URI_ARROWS),