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
I'd like to be able to disable both branch and line coverage for a single line by appending a comment to the end of the line
Something like
rescue Exception => e # rubocop:disable Lint/RescueException log_failure e raise unless @eat_exception raise if !e.is_a?(StandardError) # :nocovline:
Adding and removing coverage for single lines requires three lines now, which adds to the verbosity of the code file and reduces readability.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'd like to be able to disable both branch and line coverage for a single line by appending a comment to the end of the line
Something like
Adding and removing coverage for single lines requires three lines now, which adds to the verbosity of the code file and reduces readability.
The text was updated successfully, but these errors were encountered: