summary refs log tree commit diff stats
path: root/tests/ccgbugs/twrong_string_asgn.nim
diff options
context:
space:
mode:
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()