add soem debug output to intermittent test

This commit is contained in:
Enno Rehling 2018-01-01 07:43:06 +01:00
parent 0022f48c39
commit 77926d2d54
1 changed files with 5 additions and 0 deletions

View File

@ -58,6 +58,11 @@ function test_speedy_ship_slow()
u2:set_skill("sailing", 24) -- sumskill = 50 u2:set_skill("sailing", 24) -- sumskill = 50
u1:add_order("NACH O O O O O O O O O O") u1:add_order("NACH O O O O O O O O O O")
process_orders() process_orders()
if 5 ~= u1.region.x then
for _, msg in ipairs(f.messages) do
print(msg)
end
end
assert_equal(5, u1.region.x) assert_equal(5, u1.region.x)
end end