diff options
author | Matthew Wild <mwild1@gmail.com> | 2018-09-17 15:25:47 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2018-09-17 15:25:47 +0100 |
commit | f94bc33782a3ff2db5f0d68c6f13e83fe0fb34c4 (patch) | |
tree | 0a1f9f0723b6917a9d556fcb481d1e9cf58958f1 /spec | |
parent | 521d25b79ecb32732cdd9d1a0808453e0bfd965d (diff) | |
download | prosody-f94bc33782a3ff2db5f0d68c6f13e83fe0fb34c4.tar.gz prosody-f94bc33782a3ff2db5f0d68c6f13e83fe0fb34c4.zip |
util.cache tests: Add annotation to fix [luacheck] warning
Diffstat (limited to 'spec')
-rw-r--r-- | spec/util_cache_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/util_cache_spec.lua b/spec/util_cache_spec.lua index 9c7d75fe..15e86ee9 100644 --- a/spec/util_cache_spec.lua +++ b/spec/util_cache_spec.lua @@ -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 |