diff --git a/tests/quic/testConnection.nim b/tests/quic/testConnection.nim index f41cdfd..8ab1b70 100644 --- a/tests/quic/testConnection.nim +++ b/tests/quic/testConnection.nim @@ -15,7 +15,7 @@ suite "connection": datagramLength = 0 ecn = ECN.default - test "performs handshake": + proc performHandshake: tuple[client, server: Connection] = let client = newClientConnection(zeroAddress, zeroAddress) datagramLength = client.write(datagram, ecn) @@ -28,21 +28,16 @@ suite "connection": datagramLength = client.write(datagram, ecn) server.read(datagram[0..