lib/rubocop/cop/rspec/let_before_examples.rb in rubocop-rspec-2.25.0 vs lib/rubocop/cop/rspec/let_before_examples.rb in rubocop-rspec-2.26.0
- old
+ new
@@ -34,10 +34,10 @@
extend AutoCorrector
MSG = 'Move `let` before 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 (send nil? {#ExampleGroups.all #Examples.all} ...) ...)
(send nil? #Includes.examples ...)
}
PATTERN