aboutsummaryrefslogtreecommitdiff
path: root/testes/api.lua
diff options
context:
space:
mode:
Diffstat (limited to 'testes/api.lua')
-rw-r--r--testes/api.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/testes/api.lua b/testes/api.lua
index b5657416..9447e42a 100644
--- a/testes/api.lua
+++ b/testes/api.lua
@@ -805,7 +805,7 @@ F = function (x)
805 if A ~= nil then 805 if A ~= nil then
806 assert(type(A) == "userdata") 806 assert(type(A) == "userdata")
807 assert(T.udataval(A) == B) 807 assert(T.udataval(A) == B)
808 debug.getmetatable(A) -- just acess it 808 debug.getmetatable(A) -- just access it
809 end 809 end
810 A = x -- ressucita userdata 810 A = x -- ressucita userdata
811 B = udval 811 B = udval
@@ -1112,7 +1112,7 @@ do
1112 -- non-closable value 1112 -- non-closable value
1113 local a, b = pcall(T.makeCfunc[[ 1113 local a, b = pcall(T.makeCfunc[[
1114 newtable # create non-closable object 1114 newtable # create non-closable object
1115 toclose -1 # mark it to be closed (shoud raise an error) 1115 toclose -1 # mark it to be closed (should raise an error)
1116 abort # will not be executed 1116 abort # will not be executed
1117 ]]) 1117 ]])
1118 assert(a == false and 1118 assert(a == false and