From 38a828b52963cfdcf36f38bfe8f7491bb74ffc5b Mon Sep 17 00:00:00 2001 From: Luiz Strobelt Date: Thu, 28 Oct 2021 17:50:12 -0300 Subject: [PATCH] Simplify tests and registry for english languages --- .../Localisation/en/TimeToClockNotationTests.cs | 2 +- .../Configuration/TimeOnlyToClockNotationConvertersRegistry.cs | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Humanizer.Tests.Shared/Localisation/en/TimeToClockNotationTests.cs b/src/Humanizer.Tests.Shared/Localisation/en/TimeToClockNotationTests.cs index 3b424939f..da99f6288 100644 --- a/src/Humanizer.Tests.Shared/Localisation/en/TimeToClockNotationTests.cs +++ b/src/Humanizer.Tests.Shared/Localisation/en/TimeToClockNotationTests.cs @@ -7,7 +7,7 @@ namespace Humanizer.Tests.Localisation.en { public class TimeToClockNotationTests { - [UseCulture("en-US")] + [UseCulture("en")] [Theory] [InlineData(00, 00, "midnight")] [InlineData(04, 00, "four o'clock")] diff --git a/src/Humanizer/Configuration/TimeOnlyToClockNotationConvertersRegistry.cs b/src/Humanizer/Configuration/TimeOnlyToClockNotationConvertersRegistry.cs index aff3004b2..07d435e29 100644 --- a/src/Humanizer/Configuration/TimeOnlyToClockNotationConvertersRegistry.cs +++ b/src/Humanizer/Configuration/TimeOnlyToClockNotationConvertersRegistry.cs @@ -8,8 +8,6 @@ internal class TimeOnlyToClockNotationConvertersRegistry : LocaliserRegistry