From 4a6625e02d4661334b9760cc1f2276e936476929 Mon Sep 17 00:00:00 2001 From: Kelly Kinkade Date: Tue, 25 Aug 2026 20:24:50 -0500 Subject: [PATCH] `NONE` case should not have a tag commented out for now until structures are updated --- test/structures/unions.lua | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/test/structures/unions.lua b/test/structures/unions.lua index a664506df4..23b34b45f1 100644 --- a/test/structures/unions.lua +++ b/test/structures/unions.lua @@ -16,10 +16,14 @@ function test.unit_action_type() for index, name in ipairs(df.unit_action_type) do expect.true_(name, "unit_action_type entry without name: " .. tostring(index)) local tag = df.unit_action_type.attrs[name].tag - expect.true_(tag, "unit_action_type entry missing tag: name=" .. name) - action.type = index - expect.pairs_contains(action.data, tag, - "unit_action_type entry missing from unit_action.data: name=" .. name) + if name ~= 'NONE' then +-- expect.false_(tag, "unit_action_type tag entry for NONE is not absent") + else + expect.true_(tag, "unit_action_type entry missing tag: name=" .. name) + action.type = index + expect.pairs_contains(action.data, tag, + "unit_action_type entry missing from unit_action.data: name=" .. name) + end end end) end