Skip to content

Commit ccaf881

Browse files
committed
Feedback
1 parent 08d0bcd commit ccaf881

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.cs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2234,13 +2234,7 @@ await LoopbackServerFactory.CreateClientAndServerAsync(async uri =>
22342234
{
22352235
if (await acceptConnection.Task)
22362236
{
2237-
await IgnoreExceptions(async () =>
2238-
{
2239-
await server.AcceptConnectionAsync(async _ =>
2240-
{
2241-
await clientFinished.WaitAsync(TestHelper.PassingTestTimeout);
2242-
});
2243-
});
2237+
await IgnoreExceptions(() => server.AcceptConnectionAsync(_ => clientFinished.WaitAsync(TestHelper.PassingTestTimeout)));
22442238
}
22452239
});
22462240
}

0 commit comments

Comments
 (0)