lib/rubocop/cop/performance/redundant_merge.rb in rubocop-performance-1.5.1 vs lib/rubocop/cop/performance/redundant_merge.rb in rubocop-performance-1.5.2

- old
+ new

@@ -63,10 +63,11 @@ yield node end end def non_redundant_merge?(node, receiver, pairs) - non_redundant_pairs?(receiver, pairs) || + pairs.empty? || + non_redundant_pairs?(receiver, pairs) || kwsplat_used?(pairs) || non_redundant_value_used?(receiver, node) end def non_redundant_pairs?(receiver, pairs)