diff options
Diffstat (limited to 'testes/api.lua')
-rw-r--r-- | testes/api.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testes/api.lua b/testes/api.lua index 49e3f9b9..b3791654 100644 --- a/testes/api.lua +++ b/testes/api.lua | |||
@@ -114,7 +114,7 @@ end | |||
114 | 114 | ||
115 | -- testing warnings | 115 | -- testing warnings |
116 | T.testC([[ | 116 | T.testC([[ |
117 | warningC "#This shold be a" | 117 | warningC "#This should be a" |
118 | warningC " single " | 118 | warningC " single " |
119 | warning "warning" | 119 | warning "warning" |
120 | warningC "#This should be " | 120 | warningC "#This should be " |
@@ -162,7 +162,7 @@ do -- test returning more results than fit in the caller stack | |||
162 | end | 162 | end |
163 | 163 | ||
164 | 164 | ||
165 | do -- testing multipe returns | 165 | do -- testing multiple returns |
166 | local function foo (n) | 166 | local function foo (n) |
167 | if n > 0 then return n, foo(n - 1) end | 167 | if n > 0 then return n, foo(n - 1) end |
168 | end | 168 | end |
@@ -902,7 +902,7 @@ F = function (x) | |||
902 | assert(T.udataval(A) == B) | 902 | assert(T.udataval(A) == B) |
903 | debug.getmetatable(A) -- just access it | 903 | debug.getmetatable(A) -- just access it |
904 | end | 904 | end |
905 | A = x -- ressurect userdata | 905 | A = x -- resurrect userdata |
906 | B = udval | 906 | B = udval |
907 | return 1,2,3 | 907 | return 1,2,3 |
908 | end | 908 | end |