forked from github/server
dolphins are animals, but not horses.
This commit is contained in:
parent
259d7d9e80
commit
681a4bdaa8
|
@ -1036,8 +1036,11 @@ function test_give_horses()
|
|||
|
||||
r:set_resource("horse", 0)
|
||||
u:add_item("horse", 20)
|
||||
u:add_order("GIB 0 10 PFERDE")
|
||||
u:add_item("dolphin", 10)
|
||||
u:add_order("GIB 0 10 PFERD")
|
||||
u:add_order("GIB 0 5 DELPHIN")
|
||||
process_orders()
|
||||
assert_equal(10, r:get_resource("horse"))
|
||||
assert_equal(5, u:get_item("dolphin"))
|
||||
assert_equal(10, u:get_item("horse"))
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue