diff options
-rw-r--r-- | pym/portage/tests/dep/testCheckRequiredUse.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pym/portage/tests/dep/testCheckRequiredUse.py b/pym/portage/tests/dep/testCheckRequiredUse.py index d6a9d0c45..332c5a5df 100644 --- a/pym/portage/tests/dep/testCheckRequiredUse.py +++ b/pym/portage/tests/dep/testCheckRequiredUse.py @@ -180,6 +180,16 @@ class TestCheckRequiredUse(TestCase): "^^ ( ( a b c ) ( b c d ) )", ["a", "b", "c", "d"], "^^ ( ( a b c ) ( b c d ) )" + ), + ( + "^^ ( ( a b c ) ( b c !d ) )", + ["a", "b", "c"], + "^^ ( ( a b c ) ( b c !d ) )" + ), + ( + "^^ ( ( a b c ) ( b c !d ) )", + ["a", "b", "c", "d"], + "" ) ) for required_use, use, expected in test_cases: |