Skip to content

Commit

Permalink
Fix singularization of the word "ties" (#1066)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pandorax100 authored May 30, 2021
1 parent 7b86281 commit a03a313
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Humanizer.Tests.Shared/InflectorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ public IEnumerator<object[]> GetEnumerator()
yield return new object[] { "that", "those" };
yield return new object[] { "thief", "thieves" };
yield return new object[] { "this", "these" };
yield return new object[] { "tie", "ties" };
yield return new object[] { "tooth", "teeth" };
yield return new object[] { "torpedo", "torpedoes" };
yield return new object[] { "trellis", "trellises" };
Expand Down
1 change: 1 addition & 0 deletions src/Humanizer/Inflections/Vocabularies.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ private static Vocabulary BuildDefault()
_default.AddIrregular("this", "these", matchEnding: false);
_default.AddIrregular("bus", "buses", matchEnding: false);
_default.AddIrregular("die", "dice", matchEnding: false);
_default.AddIrregular("tie", "ties", matchEnding: false);

_default.AddUncountable("staff");
_default.AddUncountable("training");
Expand Down

0 comments on commit a03a313

Please sign in to comment.