aboutsummaryrefslogtreecommitdiff
path: root/unit_tests/scripts/coro/basics.lua
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2025-03-14 14:53:09 +0100
committerBenoit Germain <benoit.germain@ubisoft.com>2025-03-14 14:53:09 +0100
commit512f4c0b46ea5cc359e673b7379cd81925863121 (patch)
tree1e72167d8d63f44109719db9643d4c0445b17d57 /unit_tests/scripts/coro/basics.lua
parent0aa030db022c57947afbae3b97038a403973e3cd (diff)
downloadlanes-master.tar.gz
lanes-master.tar.bz2
lanes-master.zip
Give a name to all lanes in the testsHEADmaster
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)