lib/rubocop/cop/lint/multiple_compare.rb in rubocop-0.68.1 vs lib/rubocop/cop/lint/multiple_compare.rb in rubocop-0.69.0
- old
+ new
@@ -20,10 +20,10 @@
# # good
#
# x < y && y < z
# 10 <= x && x <= 20
class MultipleCompare < Cop
- MSG = 'Use the `&&` operator to compare multiple values.'.freeze
+ MSG = 'Use the `&&` operator to compare multiple values.'
def_node_matcher :multiple_compare?, <<-PATTERN
(send (send _ {:< :> :<= :>=} $_) {:< :> :<= :>=} _)
PATTERN