File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed
TestableIO.System.IO.Abstractions.TestingHelpers.Tests
TestableIO.System.IO.Abstractions.Wrappers.Tests Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 34
34
<PackageReference Include =" GitHubActionsTestLogger" Version =" 2.3.3" />
35
35
<PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.8.0" />
36
36
<PackageReference Include =" Moq" Version =" 4.20.70" />
37
- <PackageReference Include =" NUnit" Version =" 3.14.0 " />
37
+ <PackageReference Include =" NUnit" Version =" 4.0.1 " />
38
38
<PackageReference Include =" NUnit.Analyzers" Version =" 3.10.0" >
39
39
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
40
40
<PrivateAssets >all</PrivateAssets >
Original file line number Diff line number Diff line change 19
19
<PackageReference Include =" GitHubActionsTestLogger" Version =" 2.3.3" />
20
20
<PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.8.0" />
21
21
<PackageReference Include =" Moq" Version =" 4.20.70" />
22
- <PackageReference Include =" NUnit" Version =" 3.14.0 " />
22
+ <PackageReference Include =" NUnit" Version =" 4.0.1 " />
23
23
<PackageReference Include =" NUnit.Analyzers" Version =" 3.10.0" />
24
24
<PackageReference Include =" NUnit3TestAdapter" Version =" 4.5.0" />
25
- <PackageReference Include =" Snapshooter.NUnit" Version =" 0.13 .0" />
25
+ <PackageReference Include =" Snapshooter.NUnit" Version =" 0.14 .0" />
26
26
</ItemGroup >
27
27
<PropertyGroup >
28
28
<!--
29
29
Allow deprecated binary formatter functionality on .NET 8 so that we can test it
30
30
-->
31
31
<EnableUnsafeBinaryFormatterSerialization Condition =" '$(TargetFramework)' == 'net8.0'" >true</EnableUnsafeBinaryFormatterSerialization >
32
32
</PropertyGroup >
33
+ <!--
34
+ Snapshooter is currently broken when referencing NUnit 4 from a .NET 4.6.2 project.
35
+ The following blocks work around this by referencing NUnit 3 in that case.
36
+ -->
37
+ <PropertyGroup >
38
+ <_Net462NUnitVersion >3.14.0</_Net462NUnitVersion >
39
+ </PropertyGroup >
40
+ <ItemGroup Condition =" '$(TargetFramework)' == 'net462'" >
41
+ <PackageReference Update =" NUnit" Version =" $(_Net462NUnitVersion)" />
42
+ </ItemGroup >
33
43
</Project >
You can’t perform that action at this time.
0 commit comments