# HG changeset patch # User Matthew Wild # Date 1537194347 -3600 # Node ID 3259653512e762f8170269a30960172d961c6db7 # Parent 4ce972d77c53e074f5e3825bed559fa61cc172bd util.cache tests: Add annotation to fix [luacheck] warning diff -r 4ce972d77c53 -r 3259653512e7 spec/util_cache_spec.lua --- a/spec/util_cache_spec.lua Mon Sep 17 15:18:54 2018 +0100 +++ b/spec/util_cache_spec.lua Mon Sep 17 15:25:47 2018 +0100 @@ -288,7 +288,7 @@ 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