aboutsummaryrefslogtreecommitdiff
path: root/testes/events.lua
diff options
context:
space:
mode:
Diffstat (limited to 'testes/events.lua')
-rw-r--r--testes/events.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/testes/events.lua b/testes/events.lua
index b071c2a3..ac630d89 100644
--- a/testes/events.lua
+++ b/testes/events.lua
@@ -144,6 +144,8 @@ t.__bnot = f("bnot")
144-- when the constant table is very small. 144-- when the constant table is very small.
145assert(b+5 == b) 145assert(b+5 == b)
146assert(cap[0] == "add" and cap[1] == b and cap[2] == 5 and cap[3]==undef) 146assert(cap[0] == "add" and cap[1] == b and cap[2] == 5 and cap[3]==undef)
147assert(5.2 + b == 5.2)
148assert(cap[0] == "add" and cap[1] == 5.2 and cap[2] == b and cap[3]==undef)
147assert(b+'5' == b) 149assert(b+'5' == b)
148assert(cap[0] == "add" and cap[1] == b and cap[2] == '5' and cap[3]==undef) 150assert(cap[0] == "add" and cap[1] == b and cap[2] == '5' and cap[3]==undef)
149assert(5+b == 5) 151assert(5+b == 5)