Skip to content

Commit

Permalink
Update DateScrubberTests.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Dec 29, 2024
1 parent 171209c commit 280aae6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Verify.Tests/DateScrubberTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -352,4 +352,16 @@ public Task NamedDateTimeOffsetTopLevelFluent()
[Fact]
public Task NamedDateTimeOffsetTopLevelGlobal() =>
Verify(new DateTimeOffset(2020, 10, 1, 10, 15, 30, TimeSpan.Zero));


[Fact]
public Task Test_Long()
{
CultureInfo.CurrentCulture = new("en-US");

var settings = new VerifySettings();
settings.ScrubInlineDateTimes("G");

return Verify("12/11/2024 10:36:43 AM", settings);
}
}

0 comments on commit 280aae6

Please sign in to comment.