lib/rubocop/cop/rspec/hook_argument.rb in rubocop-rspec-1.12.0 vs lib/rubocop/cop/rspec/hook_argument.rb in rubocop-rspec-1.13.0
- old
+ new
@@ -64,10 +64,10 @@
EXPLICIT_MSG = 'Use `%p` for RSpec hooks.'.freeze
HOOKS = Hooks::ALL.node_pattern_union.freeze
def_node_matcher :scoped_hook, <<-PATTERN
- (block $(send nil #{HOOKS} (sym ${:each :example})) ...)
+ (block $(send nil #{HOOKS} (sym ${:each :example})) ...)
PATTERN
def_node_matcher :unscoped_hook, "(block $(send nil #{HOOKS}) ...)"
def on_block(node)