lib/rubocop/cop/rspec/change_by_zero.rb in rubocop-rspec-2.13.2 vs lib/rubocop/cop/rspec/change_by_zero.rb in rubocop-rspec-2.14.0
- old
+ new
@@ -59,10 +59,10 @@
#
class ChangeByZero < Base
extend AutoCorrector
MSG = 'Prefer `not_to change` over `to change.by(0)`.'
MSG_COMPOUND = 'Prefer %<preferred>s with compound expectations ' \
- 'over `change.by(0)`.'
+ 'over `change.by(0)`.'
RESTRICT_ON_SEND = %i[change].freeze
# @!method expect_change_with_arguments(node)
def_node_matcher :expect_change_with_arguments, <<-PATTERN
(send