summaryrefslogtreecommitdiff
path: root/testes/api.lua
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-12-30 11:45:08 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-12-30 11:45:08 -0300
commitbd1b87c5790c0c6fe23f76aa360e879922e1e738 (patch)
tree49978c2dd847c7ff4ec84e1a153ca37deef79e2a /testes/api.lua
parentd7bb8df8414f71a290c8a4b1c9f7c6fe839a94df (diff)
downloadlua-github-bd1b87c5790c0c6fe23f76aa360e879922e1e738.tar.gz
Comments (mosty typos)
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)
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