Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/structures/unions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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' 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
Expand Down
Loading