lib/rubocop/cop/mixin/negative_conditional.rb in rubocop-1.12.1 vs lib/rubocop/cop/mixin/negative_conditional.rb in rubocop-1.13.0
- old
+ new
@@ -5,11 +5,10 @@
# Some common code shared between `NegatedIf` and
# `NegatedWhile` cops.
module NegativeConditional
extend NodePattern::Macros
- MSG = 'Favor `%<inverse>s` over `%<current>s` for ' \
- 'negative conditions.'
+ MSG = 'Favor `%<inverse>s` over `%<current>s` for negative conditions.'
private
# @!method single_negative?(node)
def_node_matcher :single_negative?, '(send !(send _ :!) :!)'