diff options
author | Dominik Picheta <dominikpicheta@googlemail.com> | 2018-11-13 21:12:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-13 21:12:19 +0000 |
commit | 679a52f53c3b70aa6374eba7a8b5013b3aef76b8 (patch) | |
tree | 9793529c6411018a8a508a1f574b162523427de7 /tests | |
parent | d2f7ecb80e8672f404fa59c9eb2249ffe72f5645 (diff) | |
parent | c2b16b46ecf9e62e411e5b7e6d4d861c43b1b0fe (diff) | |
download | Nim-679a52f53c3b70aa6374eba7a8b5013b3aef76b8.tar.gz |
Merge pull request #9687 from narimiran/fix-7192
export `asyncdispatch.callSoon` (fixes #7192)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/async/t7192.nim | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/async/t7192.nim b/tests/async/t7192.nim new file mode 100644 index 000000000..c380f93e1 --- /dev/null +++ b/tests/async/t7192.nim @@ -0,0 +1,14 @@ +discard """ +output: ''' +testCallback() +''' +""" + +import asyncdispatch + +proc testCallback() = + echo "testCallback()" + +when isMainModule: + callSoon(testCallback) + poll() |