diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2025-03-14 14:53:09 +0100 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2025-03-14 14:53:09 +0100 |
commit | 512f4c0b46ea5cc359e673b7379cd81925863121 (patch) | |
tree | 1e72167d8d63f44109719db9643d4c0445b17d57 /unit_tests/scripts/coro/basics.lua | |
parent | 0aa030db022c57947afbae3b97038a403973e3cd (diff) | |
download | lanes-master.tar.gz lanes-master.tar.bz2 lanes-master.zip |
Diffstat (limited to 'unit_tests/scripts/coro/basics.lua')
-rw-r--r-- | unit_tests/scripts/coro/basics.lua | 2 |
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 | ||
43 | if true then | 43 | if 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) |