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/cancel.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/cancel.lua')
| -rw-r--r-- | tests/cancel.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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" |
| 135 | end | 135 | end |
| 136 | 136 | ||
