lib/rubocop/cop/minitest/refute_operator.rb in rubocop-minitest-0.33.0 vs lib/rubocop/cop/minitest/refute_operator.rb in rubocop-minitest-0.34.0
- old
+ new
@@ -38,10 +38,10 @@
private
def build_new_arguments(node)
lhs, op, rhs = *node.first_argument
- new_arguments = "#{lhs.source}, :#{op}, #{rhs.source}"
+ new_arguments = +"#{lhs.source}, :#{op}, #{rhs.source}"
if node.arguments.count == 2
new_arguments << ", #{node.last_argument.source}"
else
new_arguments