You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That way anyone can inherit from Assertion class and override handleFailure to return false instead of throwing an exception. This is helpfull in many situations for example for a ternary condition...
The text was updated successfully, but these errors were encountered:
luxferoo
changed the title
More flexibility to support false as a result instead of exception
Support to return false when an assertion fails
Dec 2, 2022
This is my suggestion to support returning false in case of failure :
That way anyone can inherit from Assertion class and override handleFailure to return false instead of throwing an exception. This is helpfull in many situations for example for a ternary condition...
The text was updated successfully, but these errors were encountered: