aboutsummaryrefslogtreecommitdiff
path: root/unit_tests/scripts/coro/basics.lua
diff options
context:
space:
mode:
Diffstat (limited to 'unit_tests/scripts/coro/basics.lua')
-rw-r--r--unit_tests/scripts/coro/basics.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/unit_tests/scripts/coro/basics.lua b/unit_tests/scripts/coro/basics.lua
index dc74b7c..cd2f410 100644
--- a/unit_tests/scripts/coro/basics.lua
+++ b/unit_tests/scripts/coro/basics.lua
@@ -42,7 +42,7 @@ end
42 42
43if true then 43if true then
44 -- if we start a non-coroutine lane with a yielding function, we should get an error, right? 44 -- if we start a non-coroutine lane with a yielding function, we should get an error, right?
45 local fun_g = lanes.gen("*", {name = "auto"}, yielder) 45 local fun_g = lanes.gen("*", { name = 'auto' }, yielder)
46 local h = fun_g("hello", "world", "!") 46 local h = fun_g("hello", "world", "!")
47 local err, status, stack = h:join() 47 local err, status, stack = h:join()
48 PRINT(err, status, stack) 48 PRINT(err, status, stack)