Add opconvert test for "|| ( ( A B ) C )".
authorZac Medico <zmedico@gentoo.org>
Wed, 18 Aug 2010 10:48:06 +0000 (03:48 -0700)
committerZac Medico <zmedico@gentoo.org>
Wed, 18 Aug 2010 10:48:06 +0000 (03:48 -0700)
pym/portage/tests/dep/test_use_reduce.py

index 4cb778a5cba08b466cf05f77fcb65883eb1f4ed9..6d4438979968102c8a1993d9b09d25c06f8f168f 100644 (file)
@@ -271,6 +271,10 @@ class UseReduce(TestCase):
                                "|| ( A B )",
                                opconvert = True,
                                expected_result = [ ["||", "A", "B"] ]),
+                       UseReduceTestCase(
+                               "|| ( ( A B ) C )",
+                               opconvert = True,
+                               expected_result = [ [ "||", ["A", "B"], "C" ] ]),
                        UseReduceTestCase(
                                "|| ( A || ( B C ) )",
                                opconvert = True,