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
HTTPSuccess, HTTPRedirect, and HTTPError do not Fail tests even though the docs use the same wording as HTTPBodyContains and HTTPBodyNotContains which do Fail tests.
In order to properly use them now, one must do this:
assert.True(t, assert.HTTPError(t, ...))
In order to be consistent with the rest of the assert package, they should Fail tests so that they are used like: