Skip to content

Commit

Permalink
Merge pull request #1195 from rubocop/fix-edge-rubocop-internal-affair
Browse files Browse the repository at this point in the history
Fix internal affair of edge-rubocop
  • Loading branch information
pirj committed Oct 5, 2021
2 parents 8ca86f6 + b9636b2 commit d73d80b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/rubocop/rspec/align_let_brace.rb
Expand Up @@ -5,6 +5,7 @@ module RSpec
# Shared behavior for aligning braces for single line lets
class AlignLetBrace
include RuboCop::RSpec::Language
include RuboCop::Cop::Util

def initialize(root, token)
@root = root
Expand Down Expand Up @@ -34,7 +35,7 @@ def target_column_for(let)
def let_group_for(let)
adjacent_let_chunks.detect do |chunk|
chunk.any? do |member|
member == let && member.loc.line == let.loc.line
member == let && same_line?(member, let)
end
end
end
Expand Down

0 comments on commit d73d80b

Please sign in to comment.