mirror of
https://github.com/vacp2p/nim-libp2p.git
synced 2025-03-01 16:40:32 +00:00
remove async raise from test
This commit is contained in:
parent
7eb3225d19
commit
9f1d5d26d8
@ -56,7 +56,7 @@ method readOnce*(s: TestSelectStream,
|
||||
|
||||
method write*(s: TestSelectStream, msg: seq[byte]) {.async, gcsafe.} = discard
|
||||
|
||||
method close(s: TestSelectStream) {.async, gcsafe, raises: [Defect].} =
|
||||
method close(s: TestSelectStream) {.async, gcsafe.} =
|
||||
s.isClosed = true
|
||||
s.isEof = true
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user