Skip to content

Commit 423bf32

Browse files
authored
chore: bump Mockolate to v1.0.1 (#1410)
This PR updates the Mockolate testing library dependency from version 1.0.0 to 1.0.1, which includes a fix for a wrapped exception issue in the readme example. ### KeyChanges: - Updated Mockolate package version from 1.0.0 to 1.0.1 - Removed no longer needed .NET 6.0 exclusion conditional compilation directives from FileSystemTests.cs
1 parent 6d03e73 commit 423bf32

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Directory.Packages.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<PackageVersion Include="coverlet.collector" Version="6.0.4" />
2323
<PackageVersion Include="GitHubActionsTestLogger" Version="3.0.1" />
2424
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
25-
<PackageVersion Include="Mockolate" Version="1.0.0" />
25+
<PackageVersion Include="Mockolate" Version="1.0.1" />
2626
<PackageVersion Include="NUnit" Version="4.4.0" />
2727
<PackageVersion Include="NUnit.Analyzers" Version="4.11.2" />
2828
<PackageVersion Include="NUnit3TestAdapter" Version="6.1.0" />

tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/FileSystemTests.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#if !NET6_0
2-
using Mockolate;
1+
using Mockolate;
32

43
namespace System.IO.Abstractions.Tests;
54

@@ -111,5 +110,4 @@ await That(() =>
111110
fileSystemMock.FileSystemWatcher.SetupMock.Method.New(It.IsAny<string>())
112111
).DoesNotThrow();
113112
}
114-
}
115-
#endif
113+
}

0 commit comments

Comments
 (0)