mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
fixed a verify error
This commit is contained in:
parent
32b7abedf1
commit
3a155303d4
1 changed files with 3 additions and 3 deletions
|
@ -462,11 +462,11 @@ public class VerifyCardDataTest {
|
|||
|
||||
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. Urza’s to Urza's)
|
||||
if (expected != null && expected.contains("Urza’s")) {
|
||||
expected = new ArrayList<>(expected);
|
||||
for (ListIterator<String> it = ((List<String>) expected).listIterator(); it.hasNext();) {
|
||||
if (it.next().equals("Urza's")) {
|
||||
if (it.next().equals("Urza’s")) {
|
||||
it.set("Urza's");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue