forked from github/server
an equals operator on these would be neat
This commit is contained in:
parent
d58d90b853
commit
8e650ce4e9
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ function test_snowman()
|
||||||
u:add_order("BENUTZEN 1 Schneemann")
|
u:add_order("BENUTZEN 1 Schneemann")
|
||||||
process_orders()
|
process_orders()
|
||||||
for u2 in r.units do
|
for u2 in r.units do
|
||||||
if u2~=u then
|
if u2.id~=u.id then
|
||||||
assert_equal(u2.race, "snowman")
|
assert_equal(u2.race, "snowman")
|
||||||
u = nil
|
u = nil
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in a new issue