diff --git a/GitHubActionsTestLogger.Tests/MtpSummarySpecs.cs b/GitHubActionsTestLogger.Tests/MtpSummarySpecs.cs index a6892d7..ff5dcfc 100644 --- a/GitHubActionsTestLogger.Tests/MtpSummarySpecs.cs +++ b/GitHubActionsTestLogger.Tests/MtpSummarySpecs.cs @@ -370,6 +370,7 @@ public async Task I_can_try_to_use_the_logger_to_produce_a_summary_when_the_outp await app.RunAsync(); await summaryWriter.FlushAsync(); + await summaryWriter.DisposeAsync(); // Assert var commandOutput = commandWriter.ToString(); diff --git a/GitHubActionsTestLogger.Tests/VsTestSummarySpecs.cs b/GitHubActionsTestLogger.Tests/VsTestSummarySpecs.cs index 8e0c41b..b34035a 100644 --- a/GitHubActionsTestLogger.Tests/VsTestSummarySpecs.cs +++ b/GitHubActionsTestLogger.Tests/VsTestSummarySpecs.cs @@ -415,6 +415,7 @@ public async Task I_can_try_to_use_the_logger_to_produce_a_summary_when_the_outp ); await summaryWriter.FlushAsync(); + await summaryWriter.DisposeAsync(); // Assert var commandOutput = commandWriter.ToString();