diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-05-22 14:43:07 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-05-22 14:43:07 +0200 |
commit | b639c229e3fdef21cec4535284eeabbca361dad6 (patch) | |
tree | 075fdcdfdf08053a3075fda1d9602eaa2eee1aaa /tests | |
parent | e972ee3b65bc85dbee8e1e7f74594490037dcb67 (diff) | |
download | lanes-b639c229e3fdef21cec4535284eeabbca361dad6.tar.gz lanes-b639c229e3fdef21cec4535284eeabbca361dad6.tar.bz2 lanes-b639c229e3fdef21cec4535284eeabbca361dad6.zip |
lua503_getfield → strong typed luaG_getfield
Diffstat (limited to 'tests')
-rw-r--r-- | tests/basic.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basic.lua b/tests/basic.lua index 68a7e2a..d65728e 100644 --- a/tests/basic.lua +++ b/tests/basic.lua | |||
@@ -155,7 +155,7 @@ assert(st == "cancelled") | |||
155 | 155 | ||
156 | -- cancellation of lanes waiting on a linda | 156 | -- cancellation of lanes waiting on a linda |
157 | local limited = lanes.linda("limited") | 157 | local limited = lanes.linda("limited") |
158 | assert.fails(function() limited:limit("key", 0) end) | 158 | assert.fails(function() limited:limit("key", -1) end) |
159 | assert.failsnot(function() limited:limit("key", 1) end) | 159 | assert.failsnot(function() limited:limit("key", 1) end) |
160 | -- [[################################################ | 160 | -- [[################################################ |
161 | limited:send("key", "hello") -- saturate linda | 161 | limited:send("key", "hello") -- saturate linda |