Software / code / prosody
Diff
tests/test.lua @ 7016:e0a0af42b09f
util.cache (and tests): Call on_evict after insertion of the new key, so inside on_evict we can be more certain about the current state of the cache (i.e. full, new item added, old item removed)
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Tue, 22 Dec 2015 20:10:07 +0000 |
| parent | 6946:31fb9eb9edce |
| child | 7024:8ce592e376ff |