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 cff5645 commit 6806447Copy full SHA for 6806447
test/SuperSocket.Tests/ConnectionRunAsyncTest.cs
@@ -246,15 +246,10 @@ public async Task RunAsync_Should_Handle_Filter_Exceptions()
246
await connection.WriteInputPipeDataAsync(testData, CancellationToken);
247
await connection.CompleteInput();
248
249
- var exception = await Assert.ThrowsAsync<InvalidOperationException>(async () =>
+ await foreach (var package in connection.RunAsync(filter))
250
{
251
- await foreach (var package in connection.RunAsync(filter))
252
- {
253
- // Should not reach here
254
- }
255
- });
256
-
257
- Assert.Equal("Test filter exception", exception.Message);
+ // Should not reach here
+ }
258
}
259
260
0 commit comments