Skip to content

Commit fb308ee

Browse files
authored
Move availability guard to correct test (#734)
It was previously accidentally moved to a different test, which does not need it Async tests need the guard for macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0
1 parent e0977cf commit fb308ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/AsyncHTTPClientTests/HTTPClientTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3574,7 +3574,6 @@ final class HTTPClientTests: XCTestCaseHTTPClientTestsBaseClass {
35743574
XCTAssertEqual(.ok, response.status)
35753575
}
35763576

3577-
@available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
35783577
func testSingletonClientWorks() throws {
35793578
let response = try HTTPClient.shared.get(url: self.defaultHTTPBinURLPrefix + "get").wait()
35803579
XCTAssertEqual(.ok, response.status)
@@ -3586,6 +3585,7 @@ final class HTTPClientTests: XCTestCaseHTTPClientTestsBaseClass {
35863585
}
35873586
}
35883587

3588+
@available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
35893589
func testAsyncExecuteWithCustomTLS() async throws {
35903590
let httpsBin = HTTPBin(.http1_1(ssl: true))
35913591
defer {

0 commit comments

Comments
 (0)