Skip to content

Commit

Permalink
fixed a verify error
Browse files Browse the repository at this point in the history
  • Loading branch information
theelk801 committed Jun 7, 2018
1 parent 32b7abe commit 3a15530
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -462,11 +462,11 @@ private void checkSubtypes(Card card, JsonCard ref) {

Collection<String> expected = ref.subtypes;

// fix names (e.g. Urza's to Urza's)
if (expected != null && expected.contains("Urza's")) {
// fix names (e.g. Urzas to Urza's)
if (expected != null && expected.contains("Urzas")) {
expected = new ArrayList<>(expected);
for (ListIterator<String> it = ((List<String>) expected).listIterator(); it.hasNext();) {
if (it.next().equals("Urza's")) {
if (it.next().equals("Urzas")) {
it.set("Urza's");
}
}
Expand Down

0 comments on commit 3a15530

Please sign in to comment.