From 002cc7b558dcaa133e58b7c5e7b6656d70be8e82 Mon Sep 17 00:00:00 2001 From: hangy Date: Wed, 30 Nov 2016 23:12:57 +0100 Subject: [PATCH] Added some more tests. From what I've read, all days should resolve to "dana" for the Croatian language. (No "_DualTrialQuadral" postfix.") --- .../Localisation/hr/TimeSpanHumanizeTests.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Humanizer.Tests.Shared/Localisation/hr/TimeSpanHumanizeTests.cs b/src/Humanizer.Tests.Shared/Localisation/hr/TimeSpanHumanizeTests.cs index 50acf20fb..d75ca1222 100644 --- a/src/Humanizer.Tests.Shared/Localisation/hr/TimeSpanHumanizeTests.cs +++ b/src/Humanizer.Tests.Shared/Localisation/hr/TimeSpanHumanizeTests.cs @@ -9,6 +9,9 @@ public class TimeSpanHumanizeTests [Theory] [InlineData(1, "1 dan")] [InlineData(2, "2 dana")] + [InlineData(40, "40 dana")] + [InlineData(41, "42 dana")] + [InlineData(42, "42 dana")] public void Days(int days, string expected) { Assert.Equal(expected, TimeSpan.FromDays(days).Humanize());