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 e871d39 commit 801975d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
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
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 801975d

Please sign in to comment.