forked from External/mage
tests: improved test_showCardInfo, now it can show mtgjson ref data without set usage (VSC script support)
This commit is contained in:
parent
fda9d8fc1d
commit
0cf0af3cbb
2 changed files with 18 additions and 1 deletions
|
|
@ -2270,6 +2270,9 @@ public class VerifyCardDataTest {
|
|||
// ref card
|
||||
System.out.println();
|
||||
MtgJsonCard ref = MtgJsonService.card(card.getName());
|
||||
if (ref == null) {
|
||||
ref = MtgJsonService.cardByClassName(foundClassName);
|
||||
}
|
||||
if (ref != null) {
|
||||
System.out.println("ref: " + ref.getNameAsFace() + " " + ref.manaCost);
|
||||
System.out.println(ref.text);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue