Skip to content

Commit

Permalink
Don't use emoji on stdout for the integration tests
Browse files Browse the repository at this point in the history
It doesn't work when running on the Windows runner on CI
  • Loading branch information
0xced committed Mar 14, 2024
1 parent 20df7f0 commit ba21b45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/Chisel.Tests/ChiseledAppTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public async Task RunTestApp(PublishMode publishMode)
]).ToHashSet();
actualDlls.Except(expectedDlls).Should().BeEmpty();
expectedDlls.Except(actualDlls).Should().BeEmpty();
stdOut.Should().Contain("");
stdOut.Should().Contain("[OK] ");
stdErr.Should().BeEmpty();

await Verifier.VerifyFile(testApp.IntermediateOutputPath.File("TestApp.Chisel.mermaid"))
Expand Down
4 changes: 2 additions & 2 deletions tests/TestApp/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
await using var command = dataSource.CreateCommand("Select @@version");
var result = await command.ExecuteScalarAsync();

Console.WriteLine($" {result}");
Console.WriteLine($"[OK] {result}");
return 0;
}
catch (Exception exception)
{
Console.Error.WriteLine($" {exception}");
Console.Error.WriteLine($"[ERROR] {exception}");
return 1;
}

Expand Down

0 comments on commit ba21b45

Please sign in to comment.