Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Array support for b.exclude() and b.ignore() #1218

Closed
wants to merge 2 commits into from
Closed

Array support for b.exclude() and b.ignore() #1218

wants to merge 2 commits into from

Conversation

bakape
Copy link
Contributor

@bakape bakape commented Apr 17, 2015

Simple usability enhancement to prevent long exclude/ignore chains.

@terinjokes
Copy link
Contributor

Can you add tests for this behavior?

@bakape
Copy link
Contributor Author

bakape commented Apr 18, 2015

Correct me, if I'm missing something, but is a test necessary here? The two functions simply recurse with arrays, so a test would involve mimicking the existing tests in a chain. A bit redundant. Of course, if you meant exactly that, no reason it can't be done.

@christophercrouzet
Copy link

Any news on this one? I wouldn't mind having this merged as it currently is a bit inconsistent with other methods such as external.

@bakape
Copy link
Contributor Author

bakape commented Jan 15, 2016

@christophercrouzet
Tests added.

@christophercrouzet
Copy link

Thanks!

@terinjokes
Copy link
Contributor

@bakape for the record, I asked for tests not because it was difficult or tricky, but because we don't want to accidentally break it in the future.

This PR looks reasonable. Let's see what another contributor thinks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants