diff options
author | Matthew Wild <mwild1@gmail.com> | 2018-09-17 15:28:53 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2018-09-17 15:28:53 +0100 |
commit | 74cb650790e018d95e8f1cb3735b369620845c22 (patch) | |
tree | c297b603cab3e772f099bc403ea1201c5b3e02fd /spec | |
parent | 5bb681862025e3fb656f1e295926f1f063025010 (diff) | |
download | prosody-74cb650790e018d95e8f1cb3735b369620845c22.tar.gz prosody-74cb650790e018d95e8f1cb3735b369620845c22.zip |
util.json tests: Add [luacheck] annotation to mark intentionally-empty if branch
Diffstat (limited to 'spec')
-rw-r--r-- | spec/util_json_spec.lua | 2 |
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; |