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

Allow static imports in tests #240

Merged
merged 2 commits into from
Feb 6, 2018
Merged

Conversation

iamdanfox
Copy link
Contributor

@iamdanfox iamdanfox commented Feb 6, 2018

Follow-up to #239

Rationale is that many testing libraries rely on static imports - maintaining an increasingly large list of exceptions just suggests that banning static imports in test code doesn't make sense in the first place.

org.assertj.core.api.Assertions.*,
org.assertj.guava.api.Assertions.*,
com.google.common.base.Preconditions.*,com.google.common.truth.Truth.*,
com.google.common.base.Preconditions.*,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: can you split 77 into two lines?

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

Successfully merging this pull request may close these issues.

2 participants