We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Minitest/EmptyLineBeforeAssertionMethods
No offence for the following code
def test_something e = assert_raises(StandardError) { do_something } assert_match("Error", e.message) end
Minitest/EmptyLineBeforeAssertionMethods: Add empty line before assertion.
$ [bundle exec] rubocop -V 1.56.4 (using Parser 3.2.2.4, rubocop-ast 1.29.0, running on ruby 3.2.2) [x86_64-linux-musl] - rubocop-erb 0.3.0 - rubocop-factory_bot 2.24.0 - rubocop-minitest 0.32.2 - rubocop-performance 1.19.1 - rubocop-rails 2.21.2
The text was updated successfully, but these errors were encountered:
assert_raises
Yeah, that was annoying - #273.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Expected behavior
No offence for the following code
Actual behavior
Minitest/EmptyLineBeforeAssertionMethods: Add empty line before assertion.
RuboCop version
The text was updated successfully, but these errors were encountered: