lib/rubocop/cop/lint/format_parameter_mismatch.rb in rubocop-0.72.0 vs lib/rubocop/cop/lint/format_parameter_mismatch.rb in rubocop-0.73.0
- old
+ new
@@ -59,10 +59,10 @@
else
expected != passed
end
end
- def_node_matcher :called_on_string?, <<-PATTERN
+ def_node_matcher :called_on_string?, <<~PATTERN
{(send {nil? const_type?} _ (str _) ...)
(send (str ...) ...)}
PATTERN
def method_with_format_args?(node)