aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/atexit.lua2
-rw-r--r--tests/cancel.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/atexit.lua b/tests/atexit.lua
index ba10d3b..744b705 100644
--- a/tests/atexit.lua
+++ b/tests/atexit.lua
@@ -11,7 +11,7 @@ end
11local g = function() 11local g = function()
12 local cancelled 12 local cancelled
13 repeat 13 repeat
14 cancelled = cancel_test() 14 cancelled = cancel_test(true)
15 until cancelled 15 until cancelled
16 print "User cancellation detected!" 16 print "User cancellation detected!"
17end 17end
diff --git a/tests/cancel.lua b/tests/cancel.lua
index 66957c3..c5ff0e6 100644
--- a/tests/cancel.lua
+++ b/tests/cancel.lua
@@ -130,7 +130,7 @@ local laneBody = function(mode_, payload_)
130 else 130 else
131 error "no mode: raise an error" 131 error "no mode: raise an error"
132 end 132 end
133 until cancel_test() -- soft cancel self test 133 until cancel_test(true) -- soft cancel self test
134 print " lane shutting down after breaking out of loop" 134 print " lane shutting down after breaking out of loop"
135end 135end
136 136