Skip to content

Commit d292251

Browse files
authored
Add missing availability guards (#1830)
1 parent f2f13ef commit d292251

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Tests/GRPCHTTP2CoreTests/GRPCStreamStateMachineTests.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ extension HPACKHeaders {
8888
]
8989
}
9090

91+
@available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
9192
final class GRPCStreamClientStateMachineTests: XCTestCase {
9293
private func makeClientStateMachine(
9394
targetState: TargetStateMachineState,
@@ -1045,6 +1046,7 @@ final class GRPCStreamClientStateMachineTests: XCTestCase {
10451046
}
10461047
}
10471048

1049+
@available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
10481050
final class GRPCStreamServerStateMachineTests: XCTestCase {
10491051
private func makeServerStateMachine(
10501052
targetState: TargetStateMachineState,
@@ -2161,6 +2163,7 @@ final class GRPCStreamServerStateMachineTests: XCTestCase {
21612163
}
21622164

21632165
extension XCTestCase {
2166+
@available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
21642167
func assertRejectedRPC(
21652168
_ action: GRPCStreamStateMachine.OnMetadataReceived,
21662169
expression: (HPACKHeaders) throws -> Void

0 commit comments

Comments
 (0)