From 7c64ec5612e643d9a3b7fc9e2f3897d91362f1d8 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 24 Mar 2019 18:05:40 +0100 Subject: [PATCH] test debugging --- scripts/tests/e2/undead.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/tests/e2/undead.lua b/scripts/tests/e2/undead.lua index c6122657f..b836b17f8 100644 --- a/scripts/tests/e2/undead.lua +++ b/scripts/tests/e2/undead.lua @@ -32,6 +32,10 @@ function test_undead_reserve_other() process_orders() 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")) end