mirror of
https://github.com/magefree/mage.git
synced 2025-12-27 22:12:03 -08:00
java 8 compatibility fix
This commit is contained in:
parent
519b3988be
commit
9a877f5b33
1 changed files with 3 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
|||
package org.mage.test.cards.targets;
|
||||
|
||||
import com.google.common.collect.ImmutableList;
|
||||
import mage.constants.MultiAmountType;
|
||||
import mage.constants.PhaseStep;
|
||||
import mage.constants.Zone;
|
||||
|
|
@ -113,7 +114,7 @@ public class TargetMultiAmountTest extends CardTestPlayerBaseWithAIHelps {
|
|||
|
||||
@Test
|
||||
public void test_GoodValues() {
|
||||
List<List<MultiAmountMessage>> constraints = List.of(
|
||||
List<List<MultiAmountMessage>> constraints = ImmutableList.of(
|
||||
getUnconstrainedConstraints(0),
|
||||
getUnconstrainedConstraints(1),
|
||||
getUnconstrainedConstraints(2),
|
||||
|
|
@ -283,4 +284,4 @@ public class TargetMultiAmountTest extends CardTestPlayerBaseWithAIHelps {
|
|||
|
||||
assertGraveyardCount(playerB, "Kitesail Corsair", 5);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue