Skip to content

Fix pluralization for the word 'lens'#79

Open
fywk wants to merge 1 commit intogobuffalo:mainfrom
fywk:fix/lens_pluralization
Open

Fix pluralization for the word 'lens'#79
fywk wants to merge 1 commit intogobuffalo:mainfrom
fywk:fix/lens_pluralization

Conversation

@fywk
Copy link
Copy Markdown

@fywk fywk commented Sep 8, 2025

What is being done in this PR?

Fixes #78

Add pluralization rule for the word 'lens'.

What are the main choices made to get to this solution?

Without this rule, both the Singularize and Pluralize functions would return incorrect results as described in #78.

List the manual test cases you've covered before sending this PR:

Ensured the fix is tested via singlePluralAssertions in flect_test.go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: Incorrect inflections for the word "lens"

1 participant