minimal: Fix crash due to assertion fail

This commit is contained in:
ANAND 2019-05-03 18:14:05 +05:30 committed by sfan5
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" }