Added player's name to assertGraveyardCount

This commit is contained in:
Alex Vasile 2022-05-25 11:06:26 -06:00
parent eb63ea1e32
commit 2f3831599d

View file

@ -1386,7 +1386,7 @@ public abstract class CardTestPlayerAPIImpl extends MageTestPlayerBase implement
*/
public void assertGraveyardCount(Player player, int count) throws AssertionError {
int actual = currentGame.getPlayer(player.getId()).getGraveyard().size();
Assert.assertEquals("(Graveyard) Card counts are not equal ", count, actual);
Assert.assertEquals("(Graveyard) Card counts for " + player.getName() + " are not equal", count, actual);
}
/**