From d296fb2edb526f2254cca7001d903878433e5665 Mon Sep 17 00:00:00 2001 From: Kelly Kinkade Date: Tue, 25 Aug 2026 21:23:08 -0500 Subject: [PATCH 1/2] enable commented out assertion now that structures has been updated --- test/structures/unions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/structures/unions.lua b/test/structures/unions.lua index 23b34b45f1..81fa92d5d3 100644 --- a/test/structures/unions.lua +++ b/test/structures/unions.lua @@ -17,7 +17,7 @@ function test.unit_action_type() expect.true_(name, "unit_action_type entry without name: " .. tostring(index)) local tag = df.unit_action_type.attrs[name].tag if name ~= 'NONE' then --- expect.false_(tag, "unit_action_type tag entry for NONE is not absent") + 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 From 2359ccd3607d2066595c6b72284cf6e35b06e563 Mon Sep 17 00:00:00 2001 From: Kelly Kinkade Date: Tue, 25 Aug 2026 21:35:52 -0500 Subject: [PATCH 2/2] wrong test --- test/structures/unions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/structures/unions.lua b/test/structures/unions.lua index 81fa92d5d3..c806e2feec 100644 --- a/test/structures/unions.lua +++ b/test/structures/unions.lua @@ -16,7 +16,7 @@ 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 - if name ~= 'NONE' then + 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)