summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/tests/dep/test_use_reduce.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/pym/portage/tests/dep/test_use_reduce.py b/pym/portage/tests/dep/test_use_reduce.py
index 32a9e50d5..938e8a749 100644
--- a/pym/portage/tests/dep/test_use_reduce.py
+++ b/pym/portage/tests/dep/test_use_reduce.py
@@ -226,7 +226,13 @@ class UseReduce(TestCase):
"foo? ( A ) foo? ( B )",
uselist = ["foo"],
expected_result = ["A", "B"]),
-
+ UseReduceTestCase(
+ "|| ( A B ) C",
+ expected_result = ['||', ['A', 'B'], 'C']),
+ UseReduceTestCase(
+ "A || ( B C )",
+ expected_result = ['A', '||', ['B', 'C']]),
+
#SRC_URI stuff
UseReduceTestCase(
"http://foo/bar -> blah.tbz2",