Software /
code /
prosody
Diff
spec/util_cache_spec.lua @ 9323:3259653512e7
util.cache tests: Add annotation to fix [luacheck] warning
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 17 Sep 2018 15:25:47 +0100 |
parent | 8236:4878e4159e12 |
child | 11366:618ab9bba1c2 |
line wrap: on
line diff
--- 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