Fix rubocop warning 'TrailingComma' in set_variable_code_spec.rb