aboutsummaryrefslogtreecommitdiffstats
path: root/spec/util_ringbuffer_spec.lua
Commit message (Collapse)AuthorAgeFilesLines
* util.ringbuffer: Add :sub() and :byte() methods equivalent to the string methodsMatthew Wild2020-06-041-0/+58
|
* util.ringbuffer: Prevent creation of buffer with negative sizeKim Alvefur2020-06-041-0/+5
| | | | | Previously this would have been (unsigned)-1 which is a large positive integer.
* util.ringbuffer: Prevent creation of zero-size bufferKim Alvefur2020-05-291-0/+5
|
* util.ringbuffer: Add some initial testsKim Alvefur2020-05-291-0/+17