-
-
Notifications
You must be signed in to change notification settings - Fork 120
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
Add assertNoError method side of assertError methods #385
Conversation
59c75d7
to
30dd9e2
Compare
Heeey! Just wondering if Maybe today I would name it If you agree it, name your new method Thanks for the PR, Bernat! :-) |
@rocboronat renamed methods! |
Yey! Everything is perfect now but... there's always a but... if we merge this PR, we will break the API we offer right now. We should mark the old |
import com.schibsted.spain.barista.internal.assertAny | ||
import org.hamcrest.Description | ||
import org.hamcrest.Matcher | ||
import org.hamcrest.TypeSafeMatcher | ||
|
||
object BaristaErrorAssertions { | ||
|
||
@Deprecated( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👌
When playing with errors... we have a method to check for
assertError
, error is displayed...But, we didn't had a method to check for error is not shown...