Skip to content

Commit

Permalink
Merge pull request #1730 from rubocop/followup
Browse files Browse the repository at this point in the history
Follow up #1692
  • Loading branch information
ydah authored Oct 4, 2023
2 parents 7b930a0 + 7cf365f commit 725c2b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rubocop/cop/rspec/void_expect.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def void?(expect)
return true unless parent
return true if parent.begin_type?

true if parent.block_type? && parent.body == expect
parent.block_type? && parent.body == expect
end
end
end
Expand Down

0 comments on commit 725c2b4

Please sign in to comment.