Skip to content

Commit

Permalink
asyncapi#197 bump net version
Browse files Browse the repository at this point in the history
  • Loading branch information
SennG committed Jul 7, 2024
1 parent 6cc92e3 commit df5636e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ private string RunTool(string args, int expectedExitCode = 0)
{
var process = Process.Start(new ProcessStartInfo("dotnet")
{
Arguments = $"../../../../../src/AsyncAPI.Saunter.Generator.Cli/bin/Debug/net6.0/AsyncAPI.Saunter.Generator.Cli.dll tofile {args}",
Arguments = $"../../../../../src/AsyncAPI.Saunter.Generator.Cli/bin/Debug/net8.0/AsyncAPI.Saunter.Generator.Cli.dll tofile {args}",
RedirectStandardOutput = true,
RedirectStandardError = true,
});
Expand Down Expand Up @@ -54,7 +54,7 @@ public void StreetlightsAPIExportSpecTest()
{
var path = Directory.GetCurrentDirectory();
output.WriteLine($"Output path: {path}");
var stdOut = RunTool($"--output {path} --format json,yml,yaml ../../../../../examples/StreetlightsAPI/bin/Debug/net6.0/StreetlightsAPI.dll");
var stdOut = RunTool($"--output {path} --format json,yml,yaml ../../../../../examples/StreetlightsAPI/bin/Debug/net8.0/StreetlightsAPI.dll");

stdOut.ShouldNotBeEmpty();
stdOut.ShouldContain($"AsyncAPI yaml successfully written to {Path.Combine(path, "asyncapi.yaml")}");
Expand Down

0 comments on commit df5636e

Please sign in to comment.