diff --git a/test/Serilog.Tests/Settings/SettingValueConversionsTests.cs b/test/Serilog.Tests/Settings/SettingValueConversionsTests.cs index 9dacbe050..17d2cfcfc 100644 --- a/test/Serilog.Tests/Settings/SettingValueConversionsTests.cs +++ b/test/Serilog.Tests/Settings/SettingValueConversionsTests.cs @@ -33,8 +33,8 @@ public void EmptyStringValuesConvertToNullIfTargetIsNullable() [Fact] public void ValuesConvertToNullableTimeSpan() { - var result = (System.TimeSpan?)SettingValueConversions.ConvertToType("00:01:00", typeof(System.TimeSpan?)); - Assert.Equal(System.TimeSpan.FromMinutes(1), result); + var result = (TimeSpan?)SettingValueConversions.ConvertToType("00:01:00", typeof(TimeSpan?)); + Assert.Equal(TimeSpan.FromMinutes(1), result); } [Fact]