diff options
| author | Benoit Germain <benoit.germain@ubisoft.com> | 2026-02-26 11:02:55 +0100 |
|---|---|---|
| committer | Benoit Germain <benoit.germain@ubisoft.com> | 2026-02-26 11:02:55 +0100 |
| commit | 4f97720e4c3944ccf9b9742028dc697c2dd94c5a (patch) | |
| tree | 259ec6c30971f3ca0c7e0f38898ab7f7aa548af9 /tests/atexit.lua | |
| parent | 6b8c83b3bc44b0a1bc186f58de0fea6dfc214c4b (diff) | |
| download | lanes-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.lua | 2 |
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 | |||
| 11 | local g = function() | 11 | local 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!" |
| 17 | end | 17 | end |
