Fixed typo in assertAbility

This commit is contained in:
Alex Vasile 2022-08-26 19:10:39 -04:00
parent 8bdd8b2bed
commit 20a50af475

View file

@ -905,10 +905,10 @@ public abstract class CardTestPlayerAPIImpl extends MageTestPlayerBase implement
if (mustHave) { if (mustHave) {
assertTrue("No such ability=" + ability.toString() + ", player=" + player.getName() assertTrue("No such ability=" + ability.toString() + ", player=" + player.getName()
+ ", cardName" + cardName, found.getAbilities(currentGame).containsRule(ability)); + ", cardName=" + cardName, found.getAbilities(currentGame).containsRule(ability));
} else { } else {
Assert.assertFalse("Card shouldn't have such ability=" + ability.toString() + ", player=" + player.getName() Assert.assertFalse("Card shouldn't have such ability=" + ability.toString() + ", player=" + player.getName()
+ ", cardName" + cardName, found.getAbilities(currentGame).containsRule(ability)); + ", cardName=" + cardName, found.getAbilities(currentGame).containsRule(ability));
} }
} }