mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
util.cache tests: Add annotation to fix [luacheck] warning
This commit is contained in:
parent
c3809bebd2
commit
24106955b4
1 changed files with 1 additions and 1 deletions
|
@ -288,7 +288,7 @@ describe("util.cache", function()
|
|||
expect_kv("c", 3, c4:head());
|
||||
expect_kv("a", 1, c4:tail());
|
||||
|
||||
local c5 = cache.new(3, function (k, v)
|
||||
local c5 = cache.new(3, function (k, v) --luacheck: ignore 212/v
|
||||
if k == "a" then
|
||||
return nil;
|
||||
elseif k == "b" then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue