Skip to content

Commit 7b3415c

Browse files
authored
Fix test compilation for Swift 5.5.0/5.5.1 (#550)
#if compiler and #available probably didn't get correctly updated after some merge conflict.
1 parent 14c95bf commit 7b3415c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/AsyncHTTPClientTests/AsyncAwaitEndToEndTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,8 +410,8 @@ final class AsyncAwaitEndToEndTests: XCTestCase {
410410
}
411411

412412
func testRedirectChangesHostHeader() {
413-
#if compiler(>=5.5) && canImport(_Concurrency)
414-
guard #available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *) else { return }
413+
#if compiler(>=5.5.2) && canImport(_Concurrency)
414+
guard #available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *) else { return }
415415
XCTAsyncTest {
416416
let bin = HTTPBin(.http2(compress: false))
417417
defer { XCTAssertNoThrow(try bin.shutdown()) }

0 commit comments

Comments
 (0)