From f94bc33782a3ff2db5f0d68c6f13e83fe0fb34c4 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Mon, 17 Sep 2018 15:25:47 +0100 Subject: util.cache tests: Add annotation to fix [luacheck] warning --- spec/util_cache_spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3