test debugging

This commit is contained in:
Enno Rehling 2019-03-24 18:05:40 +01:00
parent 7c01170563
commit 7c64ec5612
1 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,10 @@ function test_undead_reserve_other()
process_orders() process_orders()
assert_equal(0, u1:get_item("log")) assert_equal(0, u1:get_item("log"))
if 2 ~= u2:get_item("log") then
-- try to catch that intermittent bug:
print(u2:show())
end
assert_equal(2, u2:get_item("log")) assert_equal(2, u2:get_item("log"))
end end