Skip to content

Commit

Permalink
fortify message test
Browse files Browse the repository at this point in the history
  • Loading branch information
ennorehling committed Jul 22, 2024
1 parent d20d303 commit 20cd9e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/tests/shared/spells.lua
Original file line number Diff line number Diff line change
Expand Up @@ -191,5 +191,5 @@ function test_mountainguards_cant_attack()
local ug = unit.create(f, r, 1, "mountainguard")
ug:add_order("ATTACKIERE " .. itoa36(u.id))
process_orders()
assert_equal('race_no_attack', f.messages[1])
assert_equal(1, f:count_msg_type('race_no_attack'))
end

0 comments on commit 20cd9e4

Please sign in to comment.