Skip to content

Commit

Permalink
chore(deps): update dependency nunit to 4.3.2 (#549)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency nunit to 4.3.2

* Fix build

* Remote duplicate

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ayoub Kaanich <[email protected]>
  • Loading branch information
renovate[bot] and kayoub5 authored Mar 2, 2025
1 parent 4e9464d commit eee8735
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Test/PosixTimevalTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,14 @@ public void DateTimeConversion()
{
var now = DateTime.Now;
var pX = new PosixTimeval(now);
Assert.That(now.ToUniversalTime().Ticks, Is.EqualTo(pX.Date.Ticks).Within(TimeSpan.TicksPerMillisecond * 1.0));
Assert.That(now.ToUniversalTime(), Is.EqualTo(pX.Date).Within(TimeSpan.FromMilliseconds(1)));
}

[Test]
public void EmptyConstructor()
{
var pX = new PosixTimeval();
Assert.That(DateTime.UtcNow.Ticks, Is.EqualTo(pX.Date.Ticks).Within(TimeSpan.TicksPerMillisecond * 1.0));
Assert.That(DateTime.UtcNow, Is.EqualTo(pX.Date).Within(TimeSpan.FromMilliseconds(1)));
}
}
}
2 changes: 1 addition & 1 deletion Test/Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ SPDX-License-Identifier: MIT
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
<PackageReference Include="Mono.Posix" Version="7.1.0-final.1.21458.1" />
<PackageReference Include="NUnit" Version="4.2.2" />
<PackageReference Include="NUnit" Version="4.3.2" />
<PackageReference Include="NUnit.Analyzers" Version="4.6.0" />
<PackageReference Include="NUnit3TestAdapter" Version="5.0.0" />
<PackageReference Include="Appveyor.TestLogger" Version="2.0.0" />
Expand Down

0 comments on commit eee8735

Please sign in to comment.