Skip to content

Commit

Permalink
Bump NUnit.Analyzers from 3.6.1 to 3.7.0 (#49)
Browse files Browse the repository at this point in the history
* Bump NUnit.Analyzers from 3.6.1 to 3.7.0
* Dispose of hash object when done in unit tests
* Make teardown method public
  • Loading branch information
dependabot[bot] authored Sep 18, 2023
1 parent f68f311 commit b919a00
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Test.LibArchive.Net/ReaderTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ namespace Test.LibArchive.Net;
public class SevenZipTests
{
private readonly SHA256 hash = SHA256.Create();

[OneTimeTearDownAttribute]
public void OneTimeTearDown() {
hash.Dispose();
}

[Test]
public void Test7z()
Expand Down
2 changes: 1 addition & 1 deletion Test.LibArchive.Net/Test.LibArchive.Net.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="NUnit.Analyzers" Version="3.6.1" />
<PackageReference Include="NUnit.Analyzers" Version="3.7.0" />
<PackageReference Include="coverlet.collector" Version="6.0.0" />
</ItemGroup>
<ItemGroup>
Expand Down

0 comments on commit b919a00

Please sign in to comment.