From bd1b87c5790c0c6fe23f76aa360e879922e1e738 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 30 Dec 2019 11:45:08 -0300 Subject: Comments (mosty typos) --- testes/api.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testes/api.lua') 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) if A ~= nil then assert(type(A) == "userdata") assert(T.udataval(A) == B) - debug.getmetatable(A) -- just acess it + debug.getmetatable(A) -- just access it end A = x -- ressucita userdata B = udval @@ -1112,7 +1112,7 @@ do -- non-closable value local a, b = pcall(T.makeCfunc[[ newtable # create non-closable object - toclose -1 # mark it to be closed (shoud raise an error) + toclose -1 # mark it to be closed (should raise an error) abort # will not be executed ]]) assert(a == false and -- cgit v1.2.3-55-g6feb