lib/rubocop/cop/rspec/implicit_expect.rb in rubocop-rspec-2.25.0 vs lib/rubocop/cop/rspec/implicit_expect.rb in rubocop-rspec-2.26.0
- old
+ new
@@ -29,10 +29,10 @@
MSG = 'Prefer `%<good>s` over `%<bad>s`.'
RESTRICT_ON_SEND = Runners.all + %i[should should_not]
# @!method implicit_expect(node)
- def_node_matcher :implicit_expect, <<-PATTERN
+ def_node_matcher :implicit_expect, <<~PATTERN
{
(send nil? ${:should :should_not} ...)
(send (send nil? $:is_expected) #Runners.all ...)
}
PATTERN