diff --git a/src/Humanizer.Tests.Shared/InflectorTests.cs b/src/Humanizer.Tests.Shared/InflectorTests.cs index 4f5aa2b35..c57b66cda 100644 --- a/src/Humanizer.Tests.Shared/InflectorTests.cs +++ b/src/Humanizer.Tests.Shared/InflectorTests.cs @@ -190,6 +190,7 @@ public IEnumerator 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" }; diff --git a/src/Humanizer/Inflections/Vocabularies.cs b/src/Humanizer/Inflections/Vocabularies.cs index d61c35c84..1cb90c0f7 100644 --- a/src/Humanizer/Inflections/Vocabularies.cs +++ b/src/Humanizer/Inflections/Vocabularies.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading; namespace Humanizer.Inflections @@ -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");