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

Only deprecate ExpectedException.none() #1633

Conversation

marcphilipp
Copy link
Member

Instead of deprecating the whole class, now only the factory method is
deprecated and points to assertThrows(). This will make it easier to
temporarily suppress the exception for codebases that use it
extensively by adding an intermediate factory method of their own.

Resolves #1609.

Instead of deprecating the whole class, now only the factory method is
deprecated and points to `assertThrows()`. This will make it easier to
temporarily suppress the exception for codebases that use it
extensively by adding an intermediate factory method of their own.

Resolves #1609.
@marcphilipp marcphilipp added this to the 4.13 milestone Oct 18, 2019
@marcphilipp marcphilipp self-assigned this Oct 18, 2019
@sbrannen
Copy link
Member

LGTM 👍

@marcphilipp marcphilipp merged commit f7002b5 into master Oct 21, 2019
@marcphilipp marcphilipp deleted the issues/1609-only-deprecate-expectedexception-factory-method branch October 21, 2019 19:02
@stefanbirkner
Copy link
Contributor

Thanks.

@stefanbirkner
Copy link
Contributor

stefanbirkner commented Oct 21, 2019

@marcphilipp Are you updating the release notes or should I do this part?

@marcphilipp
Copy link
Member Author

@stefanbirkner If you could that would be great, thanks! 👍

@stefanbirkner
Copy link
Contributor

Done.

@marcphilipp
Copy link
Member Author

Thanks! 👍

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.

Undeprecate ExpectedException rule
3 participants