aboutsummaryrefslogtreecommitdiff
path: root/unit_tests/scripts/_utils54.lua
diff options
context:
space:
mode:
Diffstat (limited to 'unit_tests/scripts/_utils54.lua')
-rw-r--r--unit_tests/scripts/_utils54.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/unit_tests/scripts/_utils54.lua b/unit_tests/scripts/_utils54.lua
index a511563..629f5c5 100644
--- a/unit_tests/scripts/_utils54.lua
+++ b/unit_tests/scripts/_utils54.lua
@@ -20,7 +20,7 @@ utils.yielder_with_to_be_closed = function(out_linda_, wait_)
20 local n = 1 20 local n = 1
21 while true do 21 while true do
22 coroutine.yield("I yield!", n) 22 coroutine.yield("I yield!", n)
23 if cancel_test and cancel_test() then -- cancel_test does not exist when run immediately (not in a Lane) 23 if cancel_test and cancel_test(true) then -- cancel_test does not exist when run immediately (not in a Lane)
24 return "I am cancelled" 24 return "I am cancelled"
25 end 25 end
26 n = n + 1 26 n = n + 1