fixed a verify error

This commit is contained in:
Evan Kranzler 2018-06-07 07:00:41 -04:00
parent 32b7abedf1
commit 3a155303d4

View file

@ -462,11 +462,11 @@ public class VerifyCardDataTest {
Collection<String> expected = ref.subtypes; Collection<String> expected = ref.subtypes;
// fix names (e.g. Urza's to Urza's) // fix names (e.g. Urzas to Urza's)
if (expected != null && expected.contains("Urza's")) { if (expected != null && expected.contains("Urzas")) {
expected = new ArrayList<>(expected); expected = new ArrayList<>(expected);
for (ListIterator<String> it = ((List<String>) expected).listIterator(); it.hasNext();) { 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"); it.set("Urza's");
} }
} }