summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-10-15 01:49:46 -0700
committerZac Medico <zmedico@gentoo.org>2010-10-15 01:49:46 -0700
commitf860e43d85e08a85cd189dbdbcae4bd87b990682 (patch)
treea2cb6adf1fa038af8a0f0f87ad1ac35e1d4c6126
parent4795d80fa995e90a79584ca258981444f8e39499 (diff)
downloadportage-f860e43d85e08a85cd189dbdbcae4bd87b990682.tar.gz
portage-f860e43d85e08a85cd189dbdbcae4bd87b990682.tar.bz2
portage-f860e43d85e08a85cd189dbdbcae4bd87b990682.zip
Test use_reduce opconvert breakage.
-rw-r--r--pym/portage/tests/dep/test_use_reduce.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/pym/portage/tests/dep/test_use_reduce.py b/pym/portage/tests/dep/test_use_reduce.py
index 83735e1fd..b9a2b3dd3 100644
--- a/pym/portage/tests/dep/test_use_reduce.py
+++ b/pym/portage/tests/dep/test_use_reduce.py
@@ -304,6 +304,19 @@ class UseReduce(TestCase):
"( || ( || ( ( A ) B ) ) )",
opconvert = True,
expected_result = ["||", "A", "B"]),
+
+ # ['||', 'A', 'B', 'C'] != [['||', 'A', 'B'], 'C']
+ #UseReduceTestCase(
+ # "|| ( A B ) C",
+ # opconvert = True,
+ # expected_result = [['||', 'A', 'B'], 'C']),
+
+ # ['A', '||', ['B', 'C']] != ['A', ['||', 'B', 'C']]
+ #UseReduceTestCase(
+ # "A || ( B C )",
+ # opconvert = True,
+ # expected_result = ['A', ['||', 'B', 'C']]),
+
UseReduceTestCase(
"|| ( A )",
opconvert = True,