-
Notifications
You must be signed in to change notification settings - Fork 756
AssertionFailureIgnored recommends to use a method that does not exist #1059
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
Comments
Until then, you can disable the check by passing |
Mmm I see, but well 97% of the Java projects still use Junit 4, and given that the last release of Junit 4 was in 2014 and that there is not even an ETA for the next release probably is a better idea to clarify this in the docs don't you think?, and even better to propose a backwards compatible recommendation. |
JUnit 4.13 has been released |
JUnit 4.13 has been released! |
Thanks for the info @cushon |
Please answer these questions before submitting your issue. Thanks!
What version of Error Prone are you using?
latest
Does this issue reproduce with the latest release?
yes
What did you do?
A warning is reported that directs me to this documentation
http://errorprone.info/bugpattern/AssertionFailureIgnored
What did you expect to see?
A way to solve the issue out of the box
What did you see instead?
The documentation suggests to use Assert.assertThrows that is a method that does not exist in Junit 4.
The text was updated successfully, but these errors were encountered: