From 3b018ad72f9e90035518b102a8bf068175287f9b Mon Sep 17 00:00:00 2001 From: Cory Benfield Date: Tue, 11 Mar 2025 10:54:29 +0000 Subject: [PATCH] Work around Foundation revert even more Since #813, Foundation have backported their revert to 6.1. Now only 6.0 is the weird one. --- Tests/AsyncHTTPClientTests/HTTPClientTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/AsyncHTTPClientTests/HTTPClientTests.swift b/Tests/AsyncHTTPClientTests/HTTPClientTests.swift index 059e4805c..cc3f7f94e 100644 --- a/Tests/AsyncHTTPClientTests/HTTPClientTests.swift +++ b/Tests/AsyncHTTPClientTests/HTTPClientTests.swift @@ -46,7 +46,7 @@ final class HTTPClientTests: XCTestCaseHTTPClientTestsBaseClass { let request3 = try Request(url: "unix:///tmp/file") XCTAssertEqual(request3.host, "") - #if os(Linux) && compiler(>=6.0) && compiler(<6.2) + #if os(Linux) && compiler(>=6.0) && compiler(<6.1) XCTAssertEqual(request3.url.host, "") #else XCTAssertNil(request3.url.host)