Upgraded the tests to NUnit v5.0.0 and awaited their asynchronous assertions

This commit is contained in:
Thorsten Sommer committed 2026-11-01 14:36:56 +01:00
1 parent 8e8d1999d9
commit bc47b5c492
21 files changed
+51 -54

No files matched your search

+2 -2
View File
@@ -65,10 +65,10 @@ public sealed class FileExportFeedbackTests
}
[Test]
public void AnExceptionRemovesTheRunningNotification()
public async Task AnExceptionRemovesTheRunningNotification()
{
var sent = new SentNotifications();
Assert.ThrowsAsync<IOException>(async () =>
await Assert.ThrowsAsync<IOException>(async () =>
{
await using var feedback = new FileExportFeedback(sent.Send, _ => Task.CompletedTask);
feedback.ShowRunning(FILE_PATH);