Skip to content

Commit bc38f08

Browse files
pirjbquorning
andauthored
Update lib/rubocop/rspec/language.rb
Co-authored-by: Benjamin Quorning <[email protected]>
1 parent 614d1d1 commit bc38f08

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/rubocop/rspec/language.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,10 @@ def on_new_investigation
4242
def_node_matcher :hook?, block_pattern('#Hooks.all')
4343

4444
def_node_matcher :let?, <<-PATTERN
45-
{#{block_pattern('#Helpers.all')}
46-
(send #rspec? #Helpers.all _ block_pass)}
45+
{
46+
#{block_pattern('#Helpers.all')}
47+
(send #rspec? #Helpers.all _ block_pass)
48+
}
4749
PATTERN
4850

4951
def_node_matcher :include?, <<-PATTERN

0 commit comments

Comments
 (0)