Skip to content

Commit 1274c2d

Browse files
author
LocalIdentity
committed
Fix defence test
1 parent 935a4a7 commit 1274c2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/System/TestDefence_spec.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ describe("TestDefence", function()
409409
poolsRemaining = poolsRemainingAfterTypeMaxHit("Cold")
410410
assert.are.equals(0, floor(poolsRemaining.EnergyShield))
411411
assert.are.equals(0, floor(poolsRemaining.Mana))
412-
assert.are.equals(0, floor(poolsRemaining.Life))
412+
assert.are.not_false(1 >= floor(poolsRemaining.Life))
413413
assert.are.equals(0, floor(poolsRemaining.OverkillDamage))
414414
poolsRemaining = poolsRemainingAfterTypeMaxHit("Fire")
415415
assert.are.equals(0, floor(poolsRemaining.EnergyShield))

0 commit comments

Comments
 (0)