Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util.array: Add :slice() method + tests | Matthew Wild | 2021-09-12 | 1 | -0/+19 |
| | | | | Behaviour follows the same logic as string.sub (so yes, 1-indexed). | ||||
* | util.array: Add a test case for a behavior change in Lua 5.3 | Kim Alvefur | 2020-01-14 | 1 | -0/+1 |
| | | | | | In Lua 5.1 and 5.2 the __eq metamethod is not invoked if the other argument is of a different metatable, but in Lua 5.3 it is. | ||||
* | util.array: Fix typo in test | Kim Alvefur | 2019-11-07 | 1 | -1/+1 |
| | |||||
* | util.array: Add tests | Kim Alvefur | 2019-07-29 | 1 | -0/+154 |