diff --git a/src/Humanizer.Tests/Humanizer.Tests.csproj b/src/Humanizer.Tests/Humanizer.Tests.csproj index 5d5c5e2cd..5d01ef2c6 100644 --- a/src/Humanizer.Tests/Humanizer.Tests.csproj +++ b/src/Humanizer.Tests/Humanizer.Tests.csproj @@ -72,6 +72,7 @@ + diff --git a/src/Humanizer/NumberToWordsExtension.cs b/src/Humanizer/NumberToWordsExtension.cs index 62ccf9f5b..5169eb067 100644 --- a/src/Humanizer/NumberToWordsExtension.cs +++ b/src/Humanizer/NumberToWordsExtension.cs @@ -20,10 +20,8 @@ public static string ToWords(this int number) { case "ar": return ToArabicWords(number); - case "en": - return ToEnglishWords(number); default: - throw new Exception(); + return ToEnglishWords(number); } }