mirror of
https://github.com/correl/mage.git
synced 2024-11-28 19:19:55 +00:00
add extra fail condition to test
This commit is contained in:
parent
7173d9584e
commit
569f0dcd1f
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ public class SerraParagonTest extends CardTestPlayerBase {
|
||||||
setStopAt(1, PhaseStep.END_TURN);
|
setStopAt(1, PhaseStep.END_TURN);
|
||||||
try {
|
try {
|
||||||
execute();
|
execute();
|
||||||
|
Assert.fail("Two lands were played");
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
if (!e.getMessage().contains("Can't find ability to activate command: Play Swamp")) {
|
if (!e.getMessage().contains("Can't find ability to activate command: Play Swamp")) {
|
||||||
Assert.fail("Should have had error about not being able to play land, but got:\n" + e.getMessage());
|
Assert.fail("Should have had error about not being able to play land, but got:\n" + e.getMessage());
|
||||||
|
|
Loading…
Reference in a new issue