Skip to content

Commit c841cbb

Browse files
authored
guard testPreviousRPCAttemptsValidValues (#1698)
It relies on `metadata.previousRPCAttempts`, `retryPushback` which are only available on macOS 13.0 and newer.
1 parent 4d1dc6b commit c841cbb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tests/GRPCCoreTests/Internal/Metadata+GRPCTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import XCTest
1818

1919
@testable import GRPCCore
2020

21+
@available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2122
final class MetadataGRPCTests: XCTestCase {
2223
func testPreviousRPCAttemptsValidValues() {
2324
let testData = [("0", 0), ("1", 1), ("-1", -1)]

0 commit comments

Comments
 (0)