1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-17 00:37:39 +00:00
janet_fiber returns NULL if there is a bad arity, check that before
continuing.
This commit is contained in:
Calvin Rose
2020-11-23 15:28:28 -06:00
parent 6720b34868
commit a3f98091c4
2 changed files with 3 additions and 0 deletions

View File

@@ -74,4 +74,6 @@
(ev/cancel fiber "boop")
(ev/sleep 0.1)
(assert-error "bad arity to ev/call" (ev/call inc 1 2 3))
(end-suite)