aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-09-17 15:28:53 +0100
committerMatthew Wild <mwild1@gmail.com>2018-09-17 15:28:53 +0100
commit0207b2d7858bf626f1720a93bd5eaadfb7dee7cc (patch)
treec297b603cab3e772f099bc403ea1201c5b3e02fd /spec
parent5c12f56a9eeae1f70008ea914b2b2ea5278dd140 (diff)
downloadprosody-0207b2d7858bf626f1720a93bd5eaadfb7dee7cc.tar.gz
prosody-0207b2d7858bf626f1720a93bd5eaadfb7dee7cc.zip
util.json tests: Add [luacheck] annotation to mark intentionally-empty if branch
Diffstat (limited to 'spec')
-rw-r--r--spec/util_json_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/util_json_spec.lua b/spec/util_json_spec.lua
index dc66c7ba..43360540 100644
--- a/spec/util_json_spec.lua
+++ b/spec/util_json_spec.lua
@@ -42,7 +42,7 @@ describe("util.json", function()
local f = assert(io.open(path.."/"..name));
local content = assert(f:read("*a"));
assert(f:close());
- if skip:find(name) then
+ if skip:find(name) then --luacheck: ignore 542
-- Skip
elseif name:match("^pass") then
valid_data[name] = content;