From 5f5b4a394767c50a27c2f309f37eed379d12f036 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 30 Jun 2012 20:29:04 +0200 Subject: [PATCH] there is an old version of tolua on gelbbaer that doesn't do comparisons of user types. ugh. --- scripts/tests/orders.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/tests/orders.lua b/scripts/tests/orders.lua index b46e0c1c7..ac98a1d1b 100755 --- a/scripts/tests/orders.lua +++ b/scripts/tests/orders.lua @@ -140,7 +140,7 @@ end function test_process_move() r2 = _G.region.create(1, 0, 'plain') u:add_order('NACH O') - assert_not_equal(r2, u.region) + assert_not_equal(r2.id, u.region.id) eressea.process.update_long_order() eressea.process.movement() assert_equal(r2, u.region)