summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2018-08-08 16:18:30 +0200
committerAraq <rumpf_a@web.de>2018-08-08 16:18:30 +0200
commitb07d1f1dc38bdf073f0036095ff120f1d72d53de (patch)
treeeb47fee3f7a61879d9e4c26022c359822e0d723a
parent00ef2d6693cdb927bbdcbf20664beb6905effa7f (diff)
downloadNim-b07d1f1dc38bdf073f0036095ff120f1d72d53de.tar.gz
make async tests green for Linux
-rw-r--r--lib/pure/asyncnet.nim2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/pure/asyncnet.nim b/lib/pure/asyncnet.nim
index e7552e3e3..da7c3473c 100644
--- a/lib/pure/asyncnet.nim
+++ b/lib/pure/asyncnet.nim
@@ -493,8 +493,6 @@ proc recvLineInto*(socket: AsyncSocket, resString: FutureVar[string],
   ## **Warning**: ``recvLineInto`` on unbuffered sockets assumes that the
   ## protocol uses ``\r\L`` to delimit a new line.
   assert SocketFlag.Peek notin flags ## TODO:
-  assert(not resString.mget.isNil(),
-         "String inside resString future needs to be initialised")
   result = newFuture[void]("asyncnet.recvLineInto")
 
   # TODO: Make the async transformation check for FutureVar params and complete