From 0207b2d7858bf626f1720a93bd5eaadfb7dee7cc Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Mon, 17 Sep 2018 15:28:53 +0100 Subject: util.json tests: Add [luacheck] annotation to mark intentionally-empty if branch --- spec/util_json_spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec') 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; -- cgit v1.2.3