aboutsummaryrefslogtreecommitdiff
path: root/tests/atexit.lua
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2026-02-26 11:02:55 +0100
committerBenoit Germain <benoit.germain@ubisoft.com>2026-02-26 11:02:55 +0100
commit4f97720e4c3944ccf9b9742028dc697c2dd94c5a (patch)
tree259ec6c30971f3ca0c7e0f38898ab7f7aa548af9 /tests/atexit.lua
parent6b8c83b3bc44b0a1bc186f58de0fea6dfc214c4b (diff)
downloadlanes-4f97720e4c3944ccf9b9742028dc697c2dd94c5a.tar.gz
lanes-4f97720e4c3944ccf9b9742028dc697c2dd94c5a.tar.bz2
lanes-4f97720e4c3944ccf9b9742028dc697c2dd94c5a.zip
change cancel_test() to raise cancel_error on hard-cancels by default
Diffstat (limited to 'tests/atexit.lua')
-rw-r--r--tests/atexit.lua2
1 files changed, 1 insertions, 1 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