lib/rubocop/cop/rspec/hooks_before_examples.rb in rubocop-rspec-2.25.0 vs lib/rubocop/cop/rspec/hooks_before_examples.rb in rubocop-rspec-2.26.0
- old
+ new
@@ -26,10 +26,10 @@
extend AutoCorrector
MSG = 'Move `%<hook>s` above the examples in the group.'
# @!method example_or_group?(node)
- def_node_matcher :example_or_group?, <<-PATTERN
+ def_node_matcher :example_or_group?, <<~PATTERN
{
({block numblock} {
(send #rspec? #ExampleGroups.all ...)
(send nil? #Examples.all ...)
} ...)