Skip to content

Commit 027b2b0

Browse files
authored
Merge pull request #193 from devlead/feature/fixobsolete
fix(tests): replace obsolete SelectAwait with Select in HttpClientTests
2 parents c24cecb + 6536b20 commit 027b2b0

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/Devlead.Testing.MockHttp.Tests/Unit/HttpClientTests.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,8 @@ public async Task Send(params string[] methods)
9292
// When
9393
var result = await methods
9494
.ToAsyncEnumerable()
95-
#if NET10_0_OR_GREATER
9695
.Select(
9796
async (method, _, _)
98-
#else
99-
.SelectAwait(
100-
async method
101-
#endif
10297
=> await httpClient.SendAsync(
10398
new HttpRequestMessage(
10499
new HttpMethod(method),

0 commit comments

Comments
 (0)