mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 10:40:06 -08:00
merge fix
This commit is contained in:
parent
e3ae00f696
commit
88279afcd5
1 changed files with 5 additions and 7 deletions
|
|
@ -112,16 +112,14 @@ public class SaddleTest extends CardTestPlayerBase {
|
||||||
setChoice(playerA, lion);
|
setChoice(playerA, lion);
|
||||||
|
|
||||||
setStopAt(1, PhaseStep.END_TURN);
|
setStopAt(1, PhaseStep.END_TURN);
|
||||||
|
|
||||||
|
// TODO: test framework must have tools to check targeting (as workaround try to check it by look at test command error)
|
||||||
try {
|
try {
|
||||||
execute();
|
execute();
|
||||||
} catch (AssertionError e) {
|
} catch (AssertionError e) {
|
||||||
Assert.assertEquals(
|
if (!e.getMessage().contains("Select creatures that saddled it this turn (selected 0)")) {
|
||||||
"Lion can't be targeted",
|
Assert.fail("Lion can't be targeted, but catch another error:\n" + e.getMessage());
|
||||||
"Missing CHOICE def for turn 1, step DECLARE_ATTACKERS, PlayerA\n" +
|
}
|
||||||
"Object: PermanentCard: Rambling Possum;\n" +
|
|
||||||
"Target: TargetPermanent: Select creatures that saddled it this turn (selected 0)",
|
|
||||||
e.getMessage()
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
assertTapped(bear, true);
|
assertTapped(bear, true);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue