You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -737,13 +737,13 @@ class HTTPClientTests: XCTestCase {
737
737
XCTAssertNoThrow(try httpBin.shutdown())
738
738
}
739
739
740
-
XCTAssertThrowsError(try httpClient.get(url:"http://localhost:\(httpBin.port)/redirect/infinite1").wait(),"Should fail with redirect limit"){ error in
740
+
XCTAssertThrowsError(try httpClient.get(url:"https://localhost:\(httpBin.port)/redirect/infinite1").wait(),"Should fail with redirect limit"){ error in
@@ -752,7 +752,7 @@ class HTTPClientTests: XCTestCase {
752
752
XCTAssertNoThrow(try httpBin.shutdown())
753
753
}
754
754
755
-
XCTAssertThrowsError(try httpClient.get(url:"http://localhost:\(httpBin.port)/redirect/infinite1").wait(),"Should fail with redirect limit"){ error in
755
+
XCTAssertThrowsError(try httpClient.get(url:"https://localhost:\(httpBin.port)/redirect/infinite1").wait(),"Should fail with redirect limit"){ error in
0 commit comments