diff options
Diffstat (limited to 'testes/events.lua')
-rw-r--r-- | testes/events.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testes/events.lua b/testes/events.lua index d0abe1d4..8a01330e 100644 --- a/testes/events.lua +++ b/testes/events.lua | |||
@@ -325,6 +325,7 @@ else | |||
325 | assert(u1 == u3 and u3 == u1 and u1 ~= u2) | 325 | assert(u1 == u3 and u3 == u1 and u1 ~= u2) |
326 | assert(u2 == u1 and u2 == u3 and u3 == u2) | 326 | assert(u2 == u1 and u2 == u3 and u3 == u2) |
327 | assert(u2 ~= {}) -- different types cannot be equal | 327 | assert(u2 ~= {}) -- different types cannot be equal |
328 | assert(rawequal(u1, u1) and not rawequal(u1, u3)) | ||
328 | 329 | ||
329 | local mirror = {} | 330 | local mirror = {} |
330 | debug.setmetatable(u3, {__index = mirror, __newindex = mirror}) | 331 | debug.setmetatable(u3, {__index = mirror, __newindex = mirror}) |