diff options
Diffstat (limited to 'Tests')
| -rw-r--r-- | Tests/swiftGopherClientTests/swiftGopherClientTests.swift | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/Tests/swiftGopherClientTests/swiftGopherClientTests.swift b/Tests/swiftGopherClientTests/swiftGopherClientTests.swift index dfa46b8..47d0f24 100644 --- a/Tests/swiftGopherClientTests/swiftGopherClientTests.swift +++ b/Tests/swiftGopherClientTests/swiftGopherClientTests.swift @@ -35,4 +35,10 @@ final class GopherClientTests: XCTestCase {      wait(for: [expectation], timeout: 30)    } +     +    func testGopherClientAsync() async throws { +        let client = GopherClient() +        let reply = try await client.sendRequest(to: "gopher.navan.dev", message: "\r\n") +        XCTAssertNotNil(reply) +    }  } | 
