Kim Alvefur
|
a1f053229c
|
util.array: Fix new() library function
|
2023-07-22 16:31:05 +02:00 |
|
Matthew Wild
|
edb6956ad5
|
util.array: Add :slice() method + tests
Behaviour follows the same logic as string.sub (so yes, 1-indexed).
|
2021-09-12 10:50:20 +01:00 |
|
Kim Alvefur
|
a0bb180c36
|
util.array: Add a test case for a behavior change in Lua 5.3
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.
|
2020-01-14 23:39:47 +01:00 |
|
Kim Alvefur
|
a9980f81fa
|
util.array: Fix typo in test
|
2019-11-07 00:20:54 +01:00 |
|
Kim Alvefur
|
56b07603dd
|
util.array: Add tests
|
2019-07-29 00:51:03 +02:00 |
|