From 4f97720e4c3944ccf9b9742028dc697c2dd94c5a Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Thu, 26 Feb 2026 11:02:55 +0100 Subject: change cancel_test() to raise cancel_error on hard-cancels by default --- tests/atexit.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/atexit.lua') 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 local g = function() local cancelled repeat - cancelled = cancel_test() + cancelled = cancel_test(true) until cancelled print "User cancellation detected!" end -- cgit v1.2.3-55-g6feb