Skip to content

Commit

Permalink
Bump xUnit: 2.4.2->2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyAkinshin committed Jul 28, 2023
1 parent da02fdc commit 6573422
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.2" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<PackageReference Include="xunit" Version="2.5.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.2" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<PackageReference Include="xunit" Version="2.5.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
4 changes: 2 additions & 2 deletions tests/BenchmarkDotNet.Tests/BenchmarkDotNet.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.2" />
<PackageReference Include="Verify.Xunit" Version="20.3.2" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<PackageReference Include="xunit" Version="2.5.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public void AddVariableArray()
var job = new Job()
.WithEnvironmentVariables(new EnvironmentVariable("a", "b"))
.WithEnvironmentVariables(new EnvironmentVariable("c", "d"));
Assert.Equal(1, job.Environment.EnvironmentVariables.Count);
Assert.Single(job.Environment.EnvironmentVariables);
}

[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ public void GenerateWarningWhenExporterDependencyAlreadyExistInConfig()

var final = ImmutableConfigBuilder.Create(mutable);

Assert.Equal(1, final.ConfigAnalysisConclusion.Count);
Assert.Single(final.ConfigAnalysisConclusion);
}
finally
{
Expand Down
2 changes: 1 addition & 1 deletion tests/BenchmarkDotNet.Tests/Configs/JobTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ public static void WithNuGet()
//.WithNuGet extensions

j = j.Freeze().WithNuGet("Newtonsoft.Json");
Assert.Equal(1, j.Infrastructure.NuGetReferences.Count);
Assert.Single(j.Infrastructure.NuGetReferences);

j = j.WithNuGet("AutoMapper", "7.0.1");
Assert.Collection(j.Infrastructure.NuGetReferences,
Expand Down

0 comments on commit 6573422

Please sign in to comment.