Skip to content

Commit 42c7bc3

Browse files
author
Awesome Code
committed
Auto corrected by following Lint Ruby Lint/UnusedBlockArgument
1 parent 9998514 commit 42c7bc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rspec/its_to_it.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
# end
6464
# end
6565
# end
66-
[:should, :should_not].each do |message|
66+
[:should, :should_not].each do |_message|
6767
with_node type: 'block', caller: { message: 'its' } do
6868
if node.body.length == 1
6969
its_arg = node.caller.arguments.first.to_source

0 commit comments

Comments
 (0)