Update tests to surface any errors.

This commit is contained in:
Peter Ibekwe
2026-04-02 16:04:41 -07:00
Unverified
parent 90952ed176
commit 1f8078e496
2 changed files with 4 additions and 1 deletions
@@ -28,6 +28,7 @@ public sealed class InputWaiterTests : IDisposable
Task completed = await Task.WhenAny(waitTask, Task.Delay(TimeSpan.FromSeconds(1)));
completed.Should().BeSameAs(waitTask, "the wait task should complete before the timeout");
await waitTask;
}
[Fact]
@@ -42,6 +43,7 @@ public sealed class InputWaiterTests : IDisposable
Task completed = await Task.WhenAny(waitTask, Task.Delay(TimeSpan.FromSeconds(1)));
completed.Should().BeSameAs(waitTask, "the wait task should complete after being signaled");
await waitTask;
}
[Fact]
@@ -126,7 +126,8 @@ public class RoundRobinGroupChatManagerTests
public void RoundRobinGroupChat_Constructor_ThrowsOnNullAgents()
{
FluentActions.Invoking(() => new RoundRobinGroupChatManager(null!))
.Should().Throw<System.ArgumentException>();
.Should().Throw<System.ArgumentNullException>()
.WithParameterName("agents");
}
[Fact]