summary refs log tree commit diff stats
path: root/tests/ccgbugs/twrong_string_asgn.nim
diff options
context:
space:
mode:
authorcheatfate <ka@hardcore.kiev.ua>2016-05-18 00:53:53 +0300
committercheatfate <ka@hardcore.kiev.ua>2016-05-18 00:53:53 +0300
commitaba60e54d58a0425ae707efef4e3dfcf1a54064d (patch)
tree999699e9fb1120e0480bc0dcda1abc5cc75d7c87 /tests/ccgbugs/twrong_string_asgn.nim
parentf4f7edf00f19e5abcd4f3a4631261e109d6b8c4d (diff)
downloadNim-aba60e54d58a0425ae707efef4e3dfcf1a54064d.tar.gz
Resolve bugs with `deep recursion` of asyncdispatch.
Introduce callSoon() implementation.
Patch tests to use waitFor() instead of asyncCheck()
Diffstat (limited to 'tests/ccgbugs/twrong_string_asgn.nim')
-rw-r--r--tests/ccgbugs/twrong_string_asgn.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ccgbugs/twrong_string_asgn.nim b/tests/ccgbugs/twrong_string_asgn.nim
index b62e70e7c..669b7f8f5 100644
--- a/tests/ccgbugs/twrong_string_asgn.nim
+++ b/tests/ccgbugs/twrong_string_asgn.nim
@@ -16,4 +16,4 @@ x.callback =
   proc () =
     finished = true
 
-while not finished: discard
+while not finished: poll()