diff --git a/tests/testmultistream.nim b/tests/testmultistream.nim index 5690ec0fc..30c8f0cd4 100644 --- a/tests/testmultistream.nim +++ b/tests/testmultistream.nim @@ -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