Skip to content

Commit

Permalink
chore(deps): update nuget dependencies (#82)
Browse files Browse the repository at this point in the history
* Fix error message

* Update some deps

---------

Co-authored-by: Gérald Barré <gerald.barre@gsoft.com>
  • Loading branch information
Infra-Workleap and meziantou authored Oct 2, 2024
1 parent 657ba83 commit bdb08b4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<ItemGroup>
<PackageReference Include="CliWrap" Version="3.6.6" />
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="17.10.4" />
<PackageReference Include="YamlDotNet" Version="16.0.0" />
<PackageReference Include="YamlDotNet" Version="16.1.3" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions src/tests/Workleap.OpenApi.MSBuild.Tests/SystemTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,19 +74,19 @@ await Cli.Wrap("dotnet")

var buildResult = await Cli.Wrap("dotnet")
.WithWorkingDirectory(projectDir.FullPath)
.WithArguments(["build", "--configuration", "Release", .. extraBuildArgs])
.WithArguments(["build", "--configuration", "Release", "/bl", .. extraBuildArgs])
.WithStandardOutputPipe(PipeTarget.ToDelegate(testOutputHelper.WriteLine))
.WithStandardErrorPipe(PipeTarget.ToDelegate(testOutputHelper.WriteLine))
.WithValidation(CommandResultValidation.None)
.ExecuteAsync();

if (isFailureExpected && buildResult.ExitCode == 0)
{
Assert.Fail("The build for project $projectPath was expected to fail, but it succeeded.");
Assert.Fail($"The build for project {projectPath} was expected to fail, but it succeeded.");
}
else if (!isFailureExpected && buildResult.ExitCode != 0)
{
Assert.Fail("The build for project $projectPath was expected to succeed, but it failed.");
Assert.Fail($"The build for project {projectPath} was expected to succeed, but it failed.");
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<PackageReference Include="Meziantou.Framework.FullPath" Version="1.0.13" />
<PackageReference Include="Meziantou.Framework.TemporaryDirectory" Version="1.0.9" />
<PackageReference Include="Meziantou.Xunit.ParallelTestFramework" Version="2.3.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="xunit" Version="2.9.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="xunit" Version="2.9.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
Expand Down

0 comments on commit bdb08b4

Please sign in to comment.