Skip to content

Commit 93a4cbd

Browse files
committed
Fixed Nunit upgrade
1 parent 30faf4f commit 93a4cbd

File tree

5 files changed

+13
-5
lines changed

5 files changed

+13
-5
lines changed

.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@ end_of_line = CRLF
99
[*.cs]
1010
indent_style = space
1111
indent_size = 4
12+
13+
dotnet_diagnostic.NUnit2003.severity = suggestion
14+
dotnet_diagnostic.NUnit2004.severity = suggestion
15+
dotnet_diagnostic.NUnit2005.severity = suggestion

Directory.Build.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
<IncludeSymbols>true</IncludeSymbols>
1010
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
1111
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
12-
<LangVersion>9.0</LangVersion>
1312
<PackageTags>testing</PackageTags>
1413
<PackageProjectUrl>https://github.com/System-IO-Abstractions/System.IO.Abstractions.Extensions</PackageProjectUrl>
1514
<RepositoryUrl>https://github.com/System-IO-Abstractions/System.IO.Abstractions.Extensions.git</RepositoryUrl>

src/System.IO.Abstractions.Extensions/System.IO.Abstractions.Extensions.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<Description>Convenience functionalities on top of System.IO.Abstractions</Description>
77
<RootNamespace>System.IO.Abstractions</RootNamespace>
88
<PackageReleaseNotes>$([System.IO.File]::ReadAllText("$(MSBuildProjectDirectory)/../../ReleaseNotes.md"))</PackageReleaseNotes>
9+
<LangVersion>9.0</LangVersion>
910
</PropertyGroup>
1011

1112
<ItemGroup>

tests/System.IO.Abstractions.Extensions.Tests/.editorconfig

Lines changed: 0 additions & 3 deletions
This file was deleted.

tests/System.IO.Abstractions.Extensions.Tests/System.IO.Abstractions.Extensions.Tests.csproj

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@
77
<IsTestable>true</IsTestable>
88
</PropertyGroup>
99

10+
<ItemGroup>
11+
<Using Include="NUnit.Framework.Legacy.ClassicAssert" Alias="Assert" />
12+
</ItemGroup>
13+
14+
<ItemGroup>
15+
<ProjectReference Include="..\..\src\System.IO.Abstractions.Extensions\System.IO.Abstractions.Extensions.csproj" />
16+
</ItemGroup>
17+
1018
<ItemGroup>
1119
<PackageReference Include="TestableIO.System.IO.Abstractions.Wrappers" Version="22.0.10" />
1220
<PackageReference Include="NUnit" Version="4.3.2" />
@@ -16,7 +24,6 @@
1624
<PackageReference Include="coverlet.collector" Version="6.0.4" />
1725
<PackageReference Include="GitHubActionsTestLogger" Version="2.4.1" />
1826
<PackageReference Include="Snapshooter.NUnit" Version="1.0.1" />
19-
<ProjectReference Include="..\..\src\System.IO.Abstractions.Extensions\System.IO.Abstractions.Extensions.csproj" />
2027
</ItemGroup>
2128

2229
</Project>

0 commit comments

Comments
 (0)