minimal: Fix crash due to assertion fail
parent
e32a630937
commit
96f250ed8f
|
@ -19,7 +19,7 @@ local function run_hpchangereason_tests(player)
|
||||||
assert(expect == nil)
|
assert(expect == nil)
|
||||||
|
|
||||||
expect = { a = 234, type = "set_hp", from = "mod" }
|
expect = { a = 234, type = "set_hp", from = "mod" }
|
||||||
player:set_hp(10, { a= 234 })
|
player:set_hp(7, { a= 234 })
|
||||||
assert(expect == nil)
|
assert(expect == nil)
|
||||||
|
|
||||||
expect = { df = 3458973454, type = "fall", from = "mod" }
|
expect = { df = 3458973454, type = "fall", from = "mod" }
|
||||||
|
|
Loading…
Reference in New Issue