From 77d792bbaf2b05659f409934c13ed161e045259e Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Fri, 30 Apr 2021 08:32:26 -0400 Subject: [PATCH] fixed a test failure --- .../test/java/org/mage/test/cards/planeswalker/JaceTest.java | 2 +- .../test/cards/replacement/ZoneChangeReplacementTest.java | 2 +- .../condition/common/CardsInControllerGraveyardCondition.java | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Mage.Tests/src/test/java/org/mage/test/cards/planeswalker/JaceTest.java b/Mage.Tests/src/test/java/org/mage/test/cards/planeswalker/JaceTest.java index 397ba5e480..6cf57aa70e 100644 --- a/Mage.Tests/src/test/java/org/mage/test/cards/planeswalker/JaceTest.java +++ b/Mage.Tests/src/test/java/org/mage/test/cards/planeswalker/JaceTest.java @@ -131,7 +131,7 @@ public class JaceTest extends CardTestPlayerBase { addCard(Zone.GRAVEYARD, playerA, ancestralVision); addCard(Zone.HAND, playerA, "Swamp", 1); - activateAbility(3, PhaseStep.PRECOMBAT_MAIN, playerA, "{T}: Draw a card, then discard a card. If there are five or more cards in your graveyard"); + activateAbility(3, PhaseStep.PRECOMBAT_MAIN, playerA, "{T}:"); setChoice(playerA, "Swamp"); activateAbility(3, PhaseStep.PRECOMBAT_MAIN, playerA, "-3:"); addTarget(playerA, ancestralVision); diff --git a/Mage.Tests/src/test/java/org/mage/test/cards/replacement/ZoneChangeReplacementTest.java b/Mage.Tests/src/test/java/org/mage/test/cards/replacement/ZoneChangeReplacementTest.java index 028e559610..c20167908d 100644 --- a/Mage.Tests/src/test/java/org/mage/test/cards/replacement/ZoneChangeReplacementTest.java +++ b/Mage.Tests/src/test/java/org/mage/test/cards/replacement/ZoneChangeReplacementTest.java @@ -341,7 +341,7 @@ public class ZoneChangeReplacementTest extends CardTestPlayerBase { activateAbility(2, PhaseStep.PRECOMBAT_MAIN, playerB, "{2}{B}{B}, {T}: Return target creature", "Jace, Vryn's Prodigy"); // {T}: Draw a card, then discard a card. If there are five or more cards in your graveyard, exile Jace, Vryn's Prodigy, then return him to the battefield transformed under his owner's control. - activateAbility(2, PhaseStep.BEGIN_COMBAT, playerB, "{T}: Draw a card, then discard a card. If there are five or more cards in your graveyard"); + activateAbility(2, PhaseStep.BEGIN_COMBAT, playerB, "{T}:"); activateAbility(2, PhaseStep.POSTCOMBAT_MAIN, playerB, "+1: Up to one target creature gets -2/-0 until your next turn"); setStopAt(3, PhaseStep.UNTAP); diff --git a/Mage/src/main/java/mage/abilities/condition/common/CardsInControllerGraveyardCondition.java b/Mage/src/main/java/mage/abilities/condition/common/CardsInControllerGraveyardCondition.java index 84c329364a..fa0f86c791 100644 --- a/Mage/src/main/java/mage/abilities/condition/common/CardsInControllerGraveyardCondition.java +++ b/Mage/src/main/java/mage/abilities/condition/common/CardsInControllerGraveyardCondition.java @@ -37,9 +37,9 @@ public class CardsInControllerGraveyardCondition implements Condition { @Override public String toString() { - return CardUtil.numberToText(value, "one") + " or more " + return "there are " + CardUtil.numberToText(value, "one") + " or more " + (filter == null ? "cards" : filter.getMessage()) - + " are in your graveyard"; + + " in your graveyard"; } }