Skip to content

Ensure that "Contains" between expressions work with plain symbol - #27

Merged
pombredanne merged 2 commits into
masterfrom
contains-symbol
May 3, 2018
Merged

Ensure that "Contains" between expressions work with plain symbol#27
pombredanne merged 2 commits into
masterfrom
contains-symbol

Conversation

@pombredanne

Copy link
Copy Markdown
Member

This fixes a bug where this snippet was not working:

       l = Licensing()
        assert not l.contains('mit', 'mit and LGPL-2.1')

because a LicenseSymbol did not have a way to be tested for containment.

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
@pombredanne pombredanne added the bug label May 3, 2018
@pombredanne
pombredanne requested a review from tdruez May 3, 2018 15:23
@pombredanne

Copy link
Copy Markdown
Member Author

@tdruez FYI

@pombredanne

Copy link
Copy Markdown
Member Author

The failures on macOS are only due to some Ci setup glitches. I am merging and releasing this

@pombredanne
pombredanne merged commit 10461a4 into master May 3, 2018
@pombredanne
pombredanne deleted the contains-symbol branch May 3, 2018 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant