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 | 24106955b439edc33eab1d37b54297d425e28fd6 (patch) | |
tree | 0a1f9f0723b6917a9d556fcb481d1e9cf58958f1 /spec/util_cache_spec.lua | |
parent | c3809bebd237d2ac2e9d1f1eca6a674e9fa7c411 (diff) | |
download | prosody-24106955b439edc33eab1d37b54297d425e28fd6.tar.gz prosody-24106955b439edc33eab1d37b54297d425e28fd6.zip |
util.cache tests: Add annotation to fix [luacheck] warning
Diffstat (limited to 'spec/util_cache_spec.lua')
-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 |