Commit 2453b90
authored
Relax AsyncSequence.collect availability check (#1616)
Motivation:
Tests currently fail with:
> grpc-swift/Tests/GRPCTests/GRPCAsyncClientCallTests.swift:374:61:
error: 'collect()' is only available in macOS 12 or newer
Modifications:
Relax the availability check on the `AsyncSequence` extension. It seems
to arise from the constraint on `AsyncSequence.reduce(into: Result)` which only requires 10.15, not 12.
Result:
Tests should pass.1 parent 8a70336 commit 2453b90
File tree
1 file changed
+1
-1
lines changed- Tests/GRPCTests/AsyncAwaitSupport
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments