lib/rubocop/cop/lint/useless_assignment.rb in rubocop-0.68.1 vs lib/rubocop/cop/lint/useless_assignment.rb in rubocop-0.69.0
- old
+ new
@@ -30,10 +30,10 @@
# some_var = 1
# do_something(some_var)
# end
class UselessAssignment < Cop
include NameSimilarity
- MSG = 'Useless assignment to variable - `%<variable>s`.'.freeze
+ MSG = 'Useless assignment to variable - `%<variable>s`.'
def join_force?(force_class)
force_class == VariableForce
end