dry-rb / dry-inflector

Inflector for Ruby
https://dry-rb.org/gems/dry-inflector
MIT License
95 stars 15 forks source link

Ensure pending cases are still pending #37

Closed cllns closed 3 years ago

cllns commented 3 years ago

This should make implementing pending cases a bit simpler, with better feedback. Once the inflection rules implement the pending case, the test will fail and we can get a green suite by removing it from "pending".

This also removes a pending example for 'Swiss' since it's not pending anymore :) (Which is exactly the kind of thing I was hoping to find in the future)

cllns commented 3 years ago

In implementing #34, I used this change to find that pluses and cactuses could be removed from pending and moved to a regular expectation (as an example of the usefulness of this PR).