From 60a5ef954ed4547ebc43c5ae255e3831b9b6bace Mon Sep 17 00:00:00 2001 From: Kelly Kinkade Date: Thu, 27 Aug 2026 09:20:15 -0500 Subject: [PATCH] improve union test --- test/structures/unions.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/structures/unions.lua b/test/structures/unions.lua index c806e2feec..0f9b61a1d8 100644 --- a/test/structures/unions.lua +++ b/test/structures/unions.lua @@ -16,8 +16,8 @@ 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 - expect.false_(tag, "unit_action_type tag entry for NONE is not absent") + if name == 'NONE' or name == 'None' then + expect.false_(tag, "unit_action_type tag entry for " .. name .. " is not absent") else expect.true_(tag, "unit_action_type entry missing tag: name=" .. name) action.type = index