Skip to content

Commit 6a8f216

Browse files
committed
Feedback
1 parent 923ccac commit 6a8f216

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
@@ -2233,13 +2233,7 @@ await LoopbackServerFactory.CreateClientAndServerAsync(async uri =>
22332233
{
22342234
if (await acceptConnection.Task)
22352235
{
2236-
await IgnoreExceptions(async () =>
2237-
{
2238-
await server.AcceptConnectionAsync(async _ =>
2239-
{
2240-
await clientFinished.WaitAsync(TestHelper.PassingTestTimeout);
2241-
});
2242-
});
2236+
await IgnoreExceptions(() => server.AcceptConnectionAsync(_ => clientFinished.WaitAsync(TestHelper.PassingTestTimeout)));
22432237
}
22442238
});
22452239
}

0 commit comments

Comments
 (0)