Skip to content

Commit

Permalink
Add one more check into tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
cheatfate committed Apr 10, 2024
1 parent bf810c0 commit a7add03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/teststream.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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()))
Expand Down

0 comments on commit a7add03

Please sign in to comment.