summary refs log tree commit diff stats
path: root/tests/async
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2018-08-22 15:37:57 +0200
committerAraq <rumpf_a@web.de>2018-08-22 15:37:57 +0200
commit27f488e5d9ad0e40b23fba7ab1a8b713c823e92c (patch)
tree72648ee40db80f7fc26301b6bec9dd6eb2620c1f /tests/async
parentdbd21d670c754501e1c14c758e09c9fce3ad01d5 (diff)
downloadNim-27f488e5d9ad0e40b23fba7ab1a8b713c823e92c.tar.gz
make more tests green; system.repr does not produce 'nil' for strings and seqs anymore
Diffstat (limited to 'tests/async')
-rw-r--r--tests/async/tfuturevar.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/async/tfuturevar.nim b/tests/async/tfuturevar.nim
index 73c0fddf7..ea2c63e03 100644
--- a/tests/async/tfuturevar.nim
+++ b/tests/async/tfuturevar.nim
@@ -35,7 +35,7 @@ proc main() {.async.} =
   fut = newFutureVar[string]()
   let retFut = failureTest(fut, true)
   yield retFut
-  doAssert(fut.read().isNil)
+  doAssert(fut.read().len == 0)
   doAssert(fut.finished)
 
   fut = newFutureVar[string]()