Skip to content

Commit

Permalink
Fix singularization for "gloves"
Browse files Browse the repository at this point in the history
Fixes #998
  • Loading branch information
hazzik committed Nov 3, 2020
1 parent 34661ac commit 5faeeb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Humanizer.Tests.Shared/InflectorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ public IEnumerator<object[]> GetEnumerator()
yield return new object[] { "safe", "saves" };
yield return new object[] { "half", "halves" };

yield return new object[] { "glove", "gloves" };
yield return new object[] { "move", "moves" };

yield return new object[] { "salesperson", "salespeople" };
Expand Down
3 changes: 2 additions & 1 deletion src/Humanizer/Inflections/Vocabularies.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Threading;

namespace Humanizer.Inflections
Expand Down Expand Up @@ -79,6 +79,7 @@ private static Vocabulary BuildDefault()
_default.AddIrregular("human", "humans");
_default.AddIrregular("child", "children");
_default.AddIrregular("sex", "sexes");
_default.AddIrregular("glove", "gloves");
_default.AddIrregular("move", "moves");
_default.AddIrregular("goose", "geese");
_default.AddIrregular("wave", "waves");
Expand Down

0 comments on commit 5faeeb7

Please sign in to comment.