lib/rubocop/cop/rspec/excessive_docstring_spacing.rb in rubocop-rspec-2.25.0 vs lib/rubocop/cop/rspec/excessive_docstring_spacing.rb in rubocop-rspec-2.26.0
- old
+ new
@@ -27,10 +27,10 @@
extend AutoCorrector
MSG = 'Excessive whitespace.'
# @!method example_description(node)
- def_node_matcher :example_description, <<-PATTERN
+ def_node_matcher :example_description, <<~PATTERN
(send _ {#Examples.all #ExampleGroups.all} ${
$str
$(dstr ({str dstr `sym} ...) ...)
} ...)
PATTERN