diff --git a/Tests/Foundation/TestURLSession.swift b/Tests/Foundation/TestURLSession.swift index 29b71407c6..91dd6847c6 100644 --- a/Tests/Foundation/TestURLSession.swift +++ b/Tests/Foundation/TestURLSession.swift @@ -410,7 +410,7 @@ final class TestURLSession: LoopbackServerTest, @unchecked Sendable { } } - func test_taskCopy() { + func test_taskCopy() async { let url = URL(string: "http://127.0.0.1:\(TestURLSession.serverPort)/Nepal")! let session = URLSession(configuration: URLSessionConfiguration.default, delegate: nil,