Skip to content

Commit

Permalink
Merge pull request #928 from adamralph/dependabot/nuget/xunit-07b50e7d0d
Browse files Browse the repository at this point in the history
Bump the xunit group with 2 updates
  • Loading branch information
adamralph authored Dec 23, 2023
2 parents 93112e6 + f29135d commit d201322
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
4 changes: 2 additions & 2 deletions BullseyeTests/BullseyeTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<ItemGroup>
<PackageReference Include="GitHubActionsTestLogger" Version="2.3.3" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="xunit" Version="2.5.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.5" />
<PackageReference Include="xunit" Version="2.6.4" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.6" />
</ItemGroup>

<ItemGroup>
Expand Down
12 changes: 10 additions & 2 deletions BullseyeTests/OutputTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,16 @@ public static async Task AllHosts(Host host)
await AssertFile.Contains(expectedPath, output.ToString().Replace(Environment.NewLine, "\r\n", StringComparison.Ordinal));
}

public static IEnumerable<object[]> Hosts() =>
((Host[])Enum.GetValues(typeof(Host))).Select(host => new object[] { host, });
public static TheoryData<Host> Hosts()
{
var hosts = new TheoryData<Host>();
foreach (var host in Enum.GetValues(typeof(Host)))
{
hosts.Add((Host)host);
}

return hosts;
}

private static async Task Write(
TextWriter writer, bool noColor, bool noExtendedChars, Host host, bool hostForced, OSPlatform osPlatform, bool skipDependencies, bool dryRun, bool parallel, bool verbose, IReadOnlyCollection<string> args, int ordinal)
Expand Down

0 comments on commit d201322

Please sign in to comment.