summary refs log tree commit diff stats
path: root/tests/async
diff options
context:
space:
mode:
authorcheatfate <ka@hardcore.kiev.ua>2016-06-09 07:07:43 +0300
committercheatfate <ka@hardcore.kiev.ua>2016-06-09 07:07:43 +0300
commitfb4ff86ad666bbb21ccc07d7bd5fd4a3cdd09d56 (patch)
tree62342169a9a189faf8fc04d5bf80cc5748d47a23 /tests/async
parent10fdd241ea1d987f12820b6c5467e21dc08d1c23 (diff)
downloadNim-fb4ff86ad666bbb21ccc07d7bd5fd4a3cdd09d56.tar.gz
Make some proper closes.
Diffstat (limited to 'tests/async')
-rw-r--r--tests/async/tasynceverror.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/async/tasynceverror.nim b/tests/async/tasynceverror.nim
index 22b4fe9a7..fd6d05c60 100644
--- a/tests/async/tasynceverror.nim
+++ b/tests/async/tasynceverror.nim
@@ -43,7 +43,7 @@ else:
         await s.connect(testHost, testPort)
 
         var ps = await ls.accept()
-        SocketHandle(ls).close()
+        closeSocket(ls)
 
         await ps.send("test 1", flags={})
         s.close()