diff --git a/src/Humanizer.Tests/DateHumanizeDefaultStrategyTests.cs b/src/Humanizer.Tests/DateHumanizeDefaultStrategyTests.cs
index b9853ce28..a7152894e 100644
--- a/src/Humanizer.Tests/DateHumanizeDefaultStrategyTests.cs
+++ b/src/Humanizer.Tests/DateHumanizeDefaultStrategyTests.cs
@@ -94,7 +94,7 @@ public void HoursFromNowNotTomorrow(int hours, string expected)
[Theory]
[InlineData(1, "yesterday")]
[InlineData(10, "10 days ago")]
- [InlineData(28, "28 days ago")]
+ [InlineData(27, "27 days ago")]
[InlineData(32, "one month ago")]
public void DaysAgo(int days, string expected)
{
@@ -104,7 +104,7 @@ public void DaysAgo(int days, string expected)
[Theory]
[InlineData(1, "tomorrow")]
[InlineData(10, "10 days from now")]
- [InlineData(28, "28 days from now")]
+ [InlineData(27, "27 days from now")]
[InlineData(32, "one month from now")]
public void DaysFromNow(int days, string expected)
{
diff --git a/src/Humanizer.Tests/DehumanizeToEnumTests.cs b/src/Humanizer.Tests/DehumanizeToEnumTests.cs
index c6d1326cf..34cc6e87c 100644
--- a/src/Humanizer.Tests/DehumanizeToEnumTests.cs
+++ b/src/Humanizer.Tests/DehumanizeToEnumTests.cs
@@ -86,7 +86,7 @@ public void HonorsLocalizedDisplayAttribute()
Assert.Equal(EnumUnderTest.MemberWithLocalizedDisplayAttribute, EnumTestsResources.MemberWithLocalizedDisplayAttribute.DehumanizeTo(typeof(EnumUnderTest)));
}
- struct DummyStructWithEnumInterfaces : IComparable, IFormattable, IConvertible
+ struct DummyStructWithEnumInterfaces : IComparable, IFormattable
{
public int CompareTo(object obj)
{
diff --git a/src/Humanizer/EnumDehumanizeExtensions.cs b/src/Humanizer/EnumDehumanizeExtensions.cs
index c6f1a86b2..157b30141 100644
--- a/src/Humanizer/EnumDehumanizeExtensions.cs
+++ b/src/Humanizer/EnumDehumanizeExtensions.cs
@@ -17,7 +17,7 @@ public static class EnumDehumanizeExtensions
/// Couldn't find any enum member that matches the string
///
public static TTargetEnum DehumanizeTo(this string input)
- where TTargetEnum : struct, IComparable, IFormattable, IConvertible
+ where TTargetEnum : struct, IComparable, IFormattable
{
return (TTargetEnum)DehumanizeToPrivate(input, typeof(TTargetEnum), OnNoMatch.ThrowsException);
}