From d93bf65115e431ea16f3c90584d79e75bc59dab5 Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Fri, 4 Aug 2023 10:25:49 -0700 Subject: [PATCH] fix typo --- ci/test.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/test.lua b/ci/test.lua index 81ed19344..de9389b00 100644 --- a/ci/test.lua +++ b/ci/test.lua @@ -379,7 +379,7 @@ local function load_tests(file, tests) dfhack.printerr('Skipping tests for unspecified target in ' .. file) return true -- TODO: change to false once existing tests have targets specified end - local targets = type(env.config.target) == table and env.config.target or {env.config.target} + local targets = type(env.config.target) == 'table' and env.config.target or {env.config.target} for _,target in ipairs(targets) do if target == 'core' then goto continue end if type(target) ~= 'string' or not helpdb.is_entry(target) or