diff options
Diffstat (limited to 'testes/api.lua')
| -rw-r--r-- | testes/api.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testes/api.lua b/testes/api.lua index 4f9d6717..b2680633 100644 --- a/testes/api.lua +++ b/testes/api.lua | |||
| @@ -698,7 +698,7 @@ for k, v in ipairs(t) do | |||
| 698 | assert(v1 == v and p) | 698 | assert(v1 == v and p) |
| 699 | end | 699 | end |
| 700 | 700 | ||
| 701 | assert(debug.getuservalue(4) == nil) | 701 | assert(not debug.getuservalue(4)) |
| 702 | 702 | ||
| 703 | debug.setuservalue(b, function () return 10 end, 10) | 703 | debug.setuservalue(b, function () return 10 end, 10) |
| 704 | collectgarbage() -- function should not be collected | 704 | collectgarbage() -- function should not be collected |
