diff options
author | Sebastian Luther <SebastianLuther@gmx.de> | 2010-08-18 14:58:19 +0200 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-08-18 06:06:08 -0700 |
commit | 97d78cd3f204010a1cedef481a52829931435adc (patch) | |
tree | ac007256b311b31e1f9f5e18bde7afb462c45b4a /pym/portage/tests/dep/test_use_reduce.py | |
parent | 1b9fcb1a13e85db08b44e414a07df80b60ddc797 (diff) | |
download | portage-97d78cd3f204010a1cedef481a52829931435adc.tar.gz portage-97d78cd3f204010a1cedef481a52829931435adc.tar.bz2 portage-97d78cd3f204010a1cedef481a52829931435adc.zip |
use_reduce: code cleanup
Diffstat (limited to 'pym/portage/tests/dep/test_use_reduce.py')
-rw-r--r-- | pym/portage/tests/dep/test_use_reduce.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/pym/portage/tests/dep/test_use_reduce.py b/pym/portage/tests/dep/test_use_reduce.py index 6d4438979..deaae91f2 100644 --- a/pym/portage/tests/dep/test_use_reduce.py +++ b/pym/portage/tests/dep/test_use_reduce.py @@ -173,6 +173,9 @@ class UseReduce(TestCase): "|| ( ( A B ) C )", expected_result = [ "||", [ ["A", "B"], "C"] ]), UseReduceTestCase( + "|| ( ( A B ) ( C ) )", + expected_result = [ "||", [ ["A", "B"], "C"] ]), + UseReduceTestCase( "|| ( A || ( B C ) )", expected_result = [ "||", ["A", "||", ["B", "C"]]]), UseReduceTestCase( @@ -293,11 +296,11 @@ class UseReduce(TestCase): UseReduceTestCase( "( || ( || ( ( A ) B ) ) )", opconvert = True, - expected_result = [ ["||", "A", "B"] ]), + expected_result = ["||", "A", "B"]), UseReduceTestCase( "( || ( || ( ( A ) B ) ) )", opconvert = True, - expected_result = [ ["||", "A", "B"] ]), + expected_result = ["||", "A", "B"]), UseReduceTestCase( "|| ( A )", opconvert = True, @@ -309,7 +312,7 @@ class UseReduce(TestCase): "( || ( || ( || ( A ) foo? ( B ) ) ) )", uselist = ["foo"], opconvert = True, - expected_result = [ ["||", "A", "B"] ]), + expected_result = ["||", "A", "B"]), UseReduceTestCase( "( || ( || ( bar? ( A ) || ( foo? ( B ) ) ) ) )", opconvert = True, @@ -318,7 +321,7 @@ class UseReduce(TestCase): "( || ( || ( bar? ( A ) || ( foo? ( B ) ) ) ) )", uselist = ["foo", "bar"], opconvert = True, - expected_result = [ ["||", "A", "B"] ]), + expected_result = ["||", "A", "B"]), UseReduceTestCase( "A || ( ) foo? ( ) B", opconvert = True, |