From 2e5dfe5ae7546a242009b7c8aee730dc8ae17541 Mon Sep 17 00:00:00 2001 From: hangy Date: Thu, 1 Dec 2016 20:37:50 +0100 Subject: [PATCH] Apparently I'm stupid and 7 days actually get humanized as 1 week. --- .../Localisation/hr/TimeSpanHumanizeTests.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Humanizer.Tests.Shared/Localisation/hr/TimeSpanHumanizeTests.cs b/src/Humanizer.Tests.Shared/Localisation/hr/TimeSpanHumanizeTests.cs index d75ca1222..280853841 100644 --- a/src/Humanizer.Tests.Shared/Localisation/hr/TimeSpanHumanizeTests.cs +++ b/src/Humanizer.Tests.Shared/Localisation/hr/TimeSpanHumanizeTests.cs @@ -9,9 +9,11 @@ public class TimeSpanHumanizeTests [Theory] [InlineData(1, "1 dan")] [InlineData(2, "2 dana")] - [InlineData(40, "40 dana")] - [InlineData(41, "42 dana")] - [InlineData(42, "42 dana")] + [InlineData(3, "3 dana")] + [InlineData(4, "4 dana")] + [InlineData(5, "5 dana")] + [InlineData(7, "1 tjedan")] + [InlineData(14, "2 tjedana")] public void Days(int days, string expected) { Assert.Equal(expected, TimeSpan.FromDays(days).Humanize());