Skip to content

Commit

Permalink
Update Tests/FluentAssertions.Specs/Primitives/TimeOnlyAssertionSpecs.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Jonas Nyrup <jnyrup@users.noreply.github.com>
  • Loading branch information
IT-VBFK and jnyrup committed Nov 19, 2022
1 parent 675639a commit b9265f9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ public void When_a_time_is_close_to_an_earlier_time_by_one_tick_it_should_succee
{
// Arrange
var dateTime = TimeOnly.FromDateTime(DateTime.UtcNow);
var actual = new TimeOnly(dateTime.Ticks - 1);
var actual = new TimeOnly(dateTime.Ticks + 1);

// Act / Assert
actual.Should().BeCloseTo(dateTime, TimeSpan.FromTicks(1));
Expand Down

0 comments on commit b9265f9

Please sign in to comment.