Skip to content
New issue

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

Update RuboCop and fix failing spec #465

Closed
wants to merge 1 commit into from

Conversation

tagliala
Copy link
Contributor

@tagliala tagliala commented Dec 13, 2023

I do not know if this is correct


A new offense in RuboCop causes an issue when running specs locally.

This commit fixes the behavior by making RuboCop happy with each_key.
In this context, this should be safe because the test is checking
if haml-lint works when a comment is added to an anonymous block

Close #464

@tagliala tagliala force-pushed the chore/464-fix-spec branch 3 times, most recently from a2b2d50 to 960e796 Compare December 19, 2023 07:52
A new offense in RuboCop causes an issue when running specs locally.

This commit fixes the behavior by making RuboCop happy with `each_key`.
In this context, this should be safe because the test is checking
if haml-lint works when a comment is added to an anonymous block

Close sds#464
@tagliala tagliala changed the title Fix failing spec Update RuboCop and fix failing spec Dec 19, 2023
@sds sds added the bug label Jan 7, 2024
@sds
Copy link
Owner

sds commented Jan 7, 2024

Thanks for the PR! Apologies—I merged #470 before realizing it was solving the same issue as this.

@sds sds closed this Jan 7, 2024
@tagliala tagliala deleted the chore/464-fix-spec branch January 7, 2024 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failing spec on main (local environment, up to date rubocop)
2 participants