Skip to content

Commit

Permalink
Upgrade packages to latest and fix unit tests (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
Coop56 committed Oct 7, 2022
1 parent c8d0df9 commit f930574
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/GuardClauses/GuardClauses.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PackageLicenseFile>LICENSE</PackageLicenseFile>
</PropertyGroup>
<ItemGroup>
<None Include="..\..\LICENSE" Pack="true" PackagePath=""/>
<None Include="..\..\LICENSE" Pack="true" PackagePath="" />
</ItemGroup>
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net451;net60</TargetFrameworks>
Expand Down Expand Up @@ -31,8 +31,8 @@
<DocumentationFile>bin\$(Configuration)\Ardalis.GuardClauses.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="JetBrains.Annotations" Version="2021.3.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1-*" PrivateAssets="All" />
<PackageReference Include="JetBrains.Annotations" Version="2022.1.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<None Include="icon.png" Pack="true" Visible="false" PackagePath="" />
Expand Down
2 changes: 1 addition & 1 deletion test/GuardClauses.UnitTests/GuardAgainstExpression.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public struct CustomStruct
public string FieldName { get; set; }
}

private static IEnumerable<object[]> GetCustomStruct()
public static IEnumerable<object[]> GetCustomStruct()
{
yield return new object[] {
new CustomStruct
Expand Down
6 changes: 3 additions & 3 deletions test/GuardClauses.UnitTests/GuardClauses.UnitTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="altcover" Version="8.3.838" />
<PackageReference Include="altcover" Version="8.3.839" />
<PackageReference Include="coverlet.msbuild" Version="3.1.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
Expand All @@ -16,8 +16,8 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.2.0" />
<PackageReference Include="ReportGenerator" Version="5.1.9" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.2" />
<PackageReference Include="ReportGenerator" Version="5.1.10" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5" />
</ItemGroup>
Expand Down

0 comments on commit f930574

Please sign in to comment.