summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-08-18 03:48:06 -0700
committerZac Medico <zmedico@gentoo.org>2010-08-18 03:48:06 -0700
commitb4ee6695483ef8fe038d7d4fd63d4c1a78d5d70a (patch)
tree9502a342c2f98e9da9043636890ab41403902906
parent73d7ef249a54543f8cd4e13c8e0b34546f5acc1e (diff)
downloadportage-b4ee6695483ef8fe038d7d4fd63d4c1a78d5d70a.tar.gz
portage-b4ee6695483ef8fe038d7d4fd63d4c1a78d5d70a.tar.bz2
portage-b4ee6695483ef8fe038d7d4fd63d4c1a78d5d70a.zip
Add opconvert test for "|| ( ( A B ) C )".
-rw-r--r--pym/portage/tests/dep/test_use_reduce.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pym/portage/tests/dep/test_use_reduce.py b/pym/portage/tests/dep/test_use_reduce.py
index 4cb778a5c..6d4438979 100644
--- a/pym/portage/tests/dep/test_use_reduce.py
+++ b/pym/portage/tests/dep/test_use_reduce.py
@@ -272,6 +272,10 @@ class UseReduce(TestCase):
opconvert = True,
expected_result = [ ["||", "A", "B"] ]),
UseReduceTestCase(
+ "|| ( ( A B ) C )",
+ opconvert = True,
+ expected_result = [ [ "||", ["A", "B"], "C" ] ]),
+ UseReduceTestCase(
"|| ( A || ( B C ) )",
opconvert = True,
expected_result = [ ["||", "A", ["||", "B", "C"]] ]),