mirror of
https://github.com/correl/mage.git
synced 2025-01-12 11:08:01 +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;
|
Collection<String> expected = ref.subtypes;
|
||||||
|
|
||||||
// fix names (e.g. Urza's to Urza's)
|
// fix names (e.g. Urza’s to Urza's)
|
||||||
if (expected != null && expected.contains("Urza's")) {
|
if (expected != null && expected.contains("Urza’s")) {
|
||||||
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("Urza’s")) {
|
||||||
it.set("Urza's");
|
it.set("Urza's");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue