Closed D5ky closed 3 years ago
Describe the bug Dry::Inflector.new.singularize('bonuses') => "bonuse"
Dry::Inflector.new.singularize('bonuses') => "bonuse"
To Reproduce
Call Dry::Inflector.new.singularize('bonuses')
Dry::Inflector.new.singularize('bonuses')
Expected behavior
Dry::Inflector.new.singularize('bonuses') => 'bonus'
Your environment
:+1: Similar words which also fail this way:
Dry::Inflector.new.singularize('geniuses') # => 'geniuse'
Dry::Inflector.new.singularize('walruses') # => 'walruses'
Describe the bug
Dry::Inflector.new.singularize('bonuses') => "bonuse"
To Reproduce
Call
Dry::Inflector.new.singularize('bonuses')
Expected behavior
Dry::Inflector.new.singularize('bonuses') => 'bonus'
Your environment