We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb3e082 commit a7d7421Copy full SHA for a7d7421
src/NetMQ.Tests/ClientServer.cs
@@ -79,7 +79,7 @@ public async void AsyncWithCancellationToken()
79
80
source.CancelAfter(100);
81
82
- await Assert.ThrowsAsync<OperationCanceledException>(async () => await server.ReceiveStringAsync(source.Token));
+ await Assert.ThrowsAnyAsync<OperationCanceledException>(async () => await server.ReceiveStringAsync(source.Token));
83
}
84
85
#if NETCOREAPP3_1
0 commit comments