From 5011d3f6ffc2803a364ddeebe5a5b551c1d6f446 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Fri, 4 Jul 2014 22:42:13 -0700 Subject: [PATCH] some touching up to the new test here --- scripts/tests/e3a.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/tests/e3a.lua b/scripts/tests/e3a.lua index de9902883..d37cae476 100644 --- a/scripts/tests/e3a.lua +++ b/scripts/tests/e3a.lua @@ -730,6 +730,6 @@ function test_building_owner_can_enter_ship() u2:add_item("money", u1.number * 100) u2:clear_orders() process_orders() - assert_equal(s1.id, u1.ship.id) - assert_not_equal(b1.id, u1.ship.id, "BUG owner of the building can not go into a ship") + assert_equal(s1, u1.ship) + assert_equal(null, u1.building, "owner of the building can not go into a ship") end