Skip to content

Commit

Permalink
Fix a spec that broke because of a change in rubocop (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxLap committed Jan 7, 2024
1 parent 8a1a117 commit 9f637a7
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -462,22 +462,22 @@ haml_lint_marker_9


!!! Handles an anonymous block with a trailing comment
- list.each do |var, var2| # Some comment
- list.each do |var| # Some comment
= foo(:bar => 123)
---
haml_lint_marker_1
list.each do |var, var2| # Some comment
list.each do |var| # Some comment
HL.out = foo(:bar => 123) $$2
end
haml_lint_marker_5
---
haml_lint_marker_1
list.each do |_var, _var2| # Some comment
list.each do |_var| # Some comment
HL.out = foo(bar: 123)
end
haml_lint_marker_5
---
- list.each do |_var, _var2| # Some comment
- list.each do |_var| # Some comment
= foo(bar: 123)


Expand Down

0 comments on commit 9f637a7

Please sign in to comment.