lua/testes
Roberto Ierusalimschy 59e565d955 No need to recheck close method before calling it
A to-be-closed variable is constant and it must have a close metamethod
when it is created. A program has to go out of its way (e.g., by
changing the variable's metamethod) to invalidate that check. So,
it is not worth to test that again. If the program tampers with the
metamethod, Lua will raise a regular error when attempting to call it.
2020-12-29 10:23:02 -03:00
..
libs Details 2019-07-18 15:31:22 -03:00
all.lua Back to a stackless implementation 2020-10-12 12:29:09 -03:00
api.lua Keep memory errors as memory errors 2020-07-06 12:09:44 -03:00
attrib.lua Comments (mosty typos) 2019-12-30 11:45:08 -03:00
big.lua Comments (mosty typos) 2019-12-30 11:45:08 -03:00
bitwise.lua Subtraction of small constant integers optimized with OP_ADDI 2019-09-24 14:34:52 -03:00
bwcoercion.lua Added manual and tests for version 5.4-w2 2018-07-09 12:33:01 -03:00
calls.lua Fixed bug of long strings in binary chunks 2020-08-18 14:42:11 -03:00
closure.lua 'lua_upvalueid' returns NULL on invalid upvalue index 2020-10-12 14:51:28 -03:00
code.lua Details (do not affect regular code) 2020-12-07 11:17:30 -03:00
constructs.lua Change in the syntax of attributes 2019-07-30 12:18:19 -03:00
coroutine.lua Report last error in closing methods 2020-12-22 10:54:25 -03:00
cstack.lua 'coroutine.close'/'lua_resetthread' report original errors 2020-12-18 11:22:42 -03:00
db.lua Fixed wrong trace of vararg functions 2020-10-19 15:55:25 -03:00
errors.lua Added test cases for error messages about goto/label 2020-12-03 12:11:15 -03:00
events.lua Free bit 7 of GC 'marked' field 2020-08-07 11:21:44 -03:00
files.lua Fixed bug: invalid mode can crash 'io.popen' 2020-07-15 16:01:03 -03:00
gc.lua Avoid memory allocation in some functions from 'ltests.c' 2020-07-04 16:40:18 -03:00
gengc.lua TOUCHED2 objects are not always black 2020-08-13 14:31:27 -03:00
goto.lua Change in the syntax of attributes 2019-07-30 12:18:19 -03:00
heavy.lua Added file 'testes/heavy.lua' 2018-12-14 13:49:02 -02:00
literals.lua Added macro 'luaL_pushfail' 2019-08-16 14:58:02 -03:00
locals.lua No need to recheck close method before calling it 2020-12-29 10:23:02 -03:00
main.lua _PROMPT can have non-string values 2020-10-26 11:15:51 -03:00
math.lua Details 2020-02-27 12:59:22 -03:00
nextvar.lua Fixed bug of keys removed from tables vs 'next' 2020-10-14 15:46:58 -03:00
packtests Script 'packtests' gets Lua version as a parameter 2019-10-02 17:04:06 -03:00
pm.lua Added macro 'luaL_pushfail' 2019-08-16 14:58:02 -03:00
sort.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
strings.lua Simplification and smaller buffers for 'lua_pushfstring' 2020-07-03 11:36:56 -03:00
tpack.lua Optional 'init' argument to 'string.gmatch' 2019-01-08 14:22:32 -02:00
utf8.lua Details (more uniformity in error messages) 2020-05-27 11:46:47 -03:00
vararg.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
verybig.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00