aboutsummaryrefslogtreecommitdiff
path: root/testes
diff options
context:
space:
mode:
Diffstat (limited to 'testes')
-rw-r--r--testes/code.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/testes/code.lua b/testes/code.lua
index e12f3f91..34b04668 100644
--- a/testes/code.lua
+++ b/testes/code.lua
@@ -144,10 +144,10 @@ check(function (a,b,c,d) return a..b..c..d end,
144 'MOVE', 'MOVE', 'MOVE', 'MOVE', 'CONCAT', 'RETURN1') 144 'MOVE', 'MOVE', 'MOVE', 'MOVE', 'CONCAT', 'RETURN1')
145 145
146-- not 146-- not
147check(function () return not not nil end, 'LOADBOOL', 'RETURN1') 147check(function () return not not nil end, 'LOADFALSE', 'RETURN1')
148check(function () return not not kFalse end, 'LOADBOOL', 'RETURN1') 148check(function () return not not kFalse end, 'LOADFALSE', 'RETURN1')
149check(function () return not not true end, 'LOADBOOL', 'RETURN1') 149check(function () return not not true end, 'LOADTRUE', 'RETURN1')
150check(function () return not not k3 end, 'LOADBOOL', 'RETURN1') 150check(function () return not not k3 end, 'LOADTRUE', 'RETURN1')
151 151
152-- direct access to locals 152-- direct access to locals
153check(function () 153check(function ()
@@ -194,7 +194,7 @@ check(function ()
194 local a,b 194 local a,b
195 a[kTrue] = false 195 a[kTrue] = false
196end, 196end,
197 'LOADNIL', 'LOADBOOL', 'SETTABLE', 'RETURN0') 197 'LOADNIL', 'LOADTRUE', 'SETTABLE', 'RETURN0')
198 198
199 199
200-- equalities 200-- equalities