mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 12:52:06 -08:00
Fix rules text for abilities with up to one target
This commit is contained in:
parent
1ac6a7a5a2
commit
d53b9fd656
2 changed files with 21 additions and 4 deletions
|
|
@ -0,0 +1,17 @@
|
|||
package org.mage.test.cards.text;
|
||||
|
||||
import mage.cards.Card;
|
||||
import mage.cards.repository.CardRepository;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
public class WrennAndSixTest {
|
||||
|
||||
@Test
|
||||
public void testFirstLoyaltyAbilityRulesText() {
|
||||
Card wrennAndSix = CardRepository.instance.findCard("Wrenn and Six").getCard();
|
||||
String firstLoyaltyAbilityRulesText = wrennAndSix.getRules().get(0);
|
||||
|
||||
Assert.assertEquals(firstLoyaltyAbilityRulesText, "+1: Return up to one target land card from your graveyard to your hand.");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue