From a7add030e01c5d1bdf6110422fc3998af271f5dd Mon Sep 17 00:00:00 2001 From: cheatfate Date: Wed, 3 Apr 2024 14:04:29 +0300 Subject: [PATCH] Add one more check into tests. --- tests/teststream.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/teststream.nim b/tests/teststream.nim index 9e39e881..25278f4b 100644 --- a/tests/teststream.nim +++ b/tests/teststream.nim @@ -1632,7 +1632,8 @@ suite "Stream Transport test suite": Opt.none(StreamTransport) testResult = clientTransp.isSome() and serverTransp.isSome() and - (serverTransp.get().remoteAddress2().get().family == sendType) + (serverTransp.get().remoteAddress2().get().family == sendType) and + (clientTransp.get().remoteAddress2().get().family == sendType) var pending: seq[FutureBase] if clientTransp.isSome(): pending.add(closeWait(clientTransp.get()))