aboutsummaryrefslogtreecommitdiffstats
path: root/spec/util_array_spec.lua
Commit message (Collapse)AuthorAgeFilesLines
* util.array: Add :slice() method + testsMatthew Wild2021-09-121-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.3Kim Alvefur2020-01-141-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 testKim Alvefur2019-11-071-1/+1
|
* util.array: Add testsKim Alvefur2019-07-291-0/+154