lib/rubocop/cop/rspec/repeated_include_example.rb in rubocop-rspec-2.25.0 vs lib/rubocop/cop/rspec/repeated_include_example.rb in rubocop-rspec-2.26.0
- old
+ new
@@ -48,10 +48,10 @@
class RepeatedIncludeExample < Base
MSG = 'Repeated include of shared_examples %<name>s ' \
'on line(s) %<repeat>s'
# @!method several_include_examples?(node)
- def_node_matcher :several_include_examples?, <<-PATTERN
+ def_node_matcher :several_include_examples?, <<~PATTERN
(begin <#include_examples? #include_examples? ...>)
PATTERN
# @!method include_examples?(node)
def_node_matcher :include_examples?,