Fix rubocop warning 'TrailingComma' in reverse_each_digit_spec