New cop to check assert_raises
with generic exceptions is followed by error message check
#174
Labels
feature request
Request for new functionality
assert_raises
with generic exceptions is followed by error message check
#174
When testing for generic errors (like
ArgumentError
,RuntimeError
,KeyError
,IndexError
etc) we need to check for the error message to not get false positives.assert_raises(RuntimeError)
is a 💥The text was updated successfully, but these errors were encountered: