Skip to content

Commit

Permalink
Simplify tests and registry for english languages
Browse files Browse the repository at this point in the history
  • Loading branch information
strobelt committed Oct 28, 2021
1 parent d497cdf commit 38a828b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ internal class TimeOnlyToClockNotationConvertersRegistry : LocaliserRegistry<ITi
{
public TimeOnlyToClockNotationConvertersRegistry() : base(new DefaultTimeOnlyToClockNotationConverter())
{
Register("en-US", new DefaultTimeOnlyToClockNotationConverter());
Register("en-UK", new DefaultTimeOnlyToClockNotationConverter());
Register("pt-BR", new BrazilianPortugueseTimeOnlyToClockNotationConverter());
}
}
Expand Down

0 comments on commit 38a828b

Please sign in to comment.