lib/rubocop/cop/style/and_or.rb in rubocop-0.36.0 vs lib/rubocop/cop/style/and_or.rb in rubocop-0.37.0

- old
+ new

@@ -89,10 +89,10 @@ return unless node.send_type? _receiver, _method_name, *args = *node elsif node.loc.selector.source == 'not' return correct_other(node, corrector) else - fail 'unrecognized unary negation operator' + raise 'unrecognized unary negation operator' end end return unless correctable_send?(node) sb = node.source_range.source_buffer