aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_util_cache.lua
Commit message (Collapse)AuthorAgeFilesLines
* util.cache: Add head() and tail() methods (and tests)Matthew Wild2016-03-171-1/+26
|
* util.cache (and tests): Call on_evict after insertion of the new key, so ↵Matthew Wild2015-12-221-0/+55
| | | | inside on_evict we can be more certain about the current state of the cache (i.e. full, new item added, old item removed)
* tests: Add tests for util.cacheMatthew Wild2015-11-261-0/+174