aboutsummaryrefslogtreecommitdiff
path: root/builtin/common/tests/misc_helpers_spec.lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Builtin: Optimize misc helpers (#12377)Lars Müller2022-05-271-0/+8
| | | Also add formspec_escape unit test
* Add relative numbers for commands by prepending ~ (#9588)Wuzzy2022-05-221-0/+90
| | | | | | | | | | | | | | | | | | | * Add relative numbers for commands by prepending ~ * Some builtin code cleanup * Disallow nan and inf in minetest.string_to_area * Remove unused local variable teleportee (makes Luacheck happy) * Clean up core.string_to_pos * Make area parsing less permissive * Rewrite tests as busted tests * /time: Fix negative minutes not working Co-authored-by: Lars Mueller <appgurulars@gmx.de>
* Store vector metatable in registryJude Melton-Houghton2022-03-291-0/+1
|
* Add metatables to lua vectors (#11039)DS2021-06-041-2/+3
| | | Add backwards-compatible metatable functions for vectors.
* Add Lua unit tests to builtin using busted (#9184)rubenwardy2020-01-181-0/+73