mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Typo fix
This commit is contained in:
parent
5220e44b16
commit
fa75ac2727
3 changed files with 6 additions and 6 deletions
|
@ -1220,17 +1220,17 @@ public abstract class CardTestPlayerAPIImpl extends MageTestPlayerBase implement
|
|||
}
|
||||
|
||||
public void assertActionsCount(TestPlayer player, int count) throws AssertionError {
|
||||
Assert.assertEquals("(Actions of " + player.getName() + ") Count are not equel (found ["
|
||||
Assert.assertEquals("(Actions of " + player.getName() + ") Count are not equal (found ["
|
||||
+ player.getActions().stream().map(PlayerAction::getAction).collect(Collectors.joining(", "))
|
||||
+ "])", count, player.getActions().size());
|
||||
}
|
||||
|
||||
public void assertChoicesCount(TestPlayer player, int count) throws AssertionError {
|
||||
Assert.assertEquals("(Choices of " + player.getName() + ") Count are not equel (found " + player.getChoices() + ")", count, player.getChoices().size());
|
||||
Assert.assertEquals("(Choices of " + player.getName() + ") Count are not equal (found " + player.getChoices() + ")", count, player.getChoices().size());
|
||||
}
|
||||
|
||||
public void assertTargetsCount(TestPlayer player, int count) throws AssertionError {
|
||||
Assert.assertEquals("(Targets of " + player.getName() + ") Count are not equel (found " + player.getTargets() + ")", count, player.getTargets().size());
|
||||
Assert.assertEquals("(Targets of " + player.getName() + ") Count are not equal (found " + player.getTargets() + ")", count, player.getTargets().size());
|
||||
}
|
||||
|
||||
public void assertAllCommandsUsed() throws AssertionError {
|
||||
|
|
|
@ -170,7 +170,7 @@ public class VerifyCardDataTest {
|
|||
}
|
||||
|
||||
if (doubleErrors.size() > 0) {
|
||||
Assert.fail("DB have duplicated card numbers, found errors: " + doubleErrors.size());
|
||||
Assert.fail("DB has duplicated card numbers, found errors: " + doubleErrors.size());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -208,7 +208,7 @@ public class VerifyCardDataTest {
|
|||
System.out.println("Total unique cards: " + classesIndex.size() + ", total non unique cards (reprints): " + totalCards);
|
||||
|
||||
if (errorsList.size() > 0) {
|
||||
Assert.fail("DB have wrong card classes, found errors: " + errorsList.size());
|
||||
Assert.fail("DB has wrong card classes, found errors: " + errorsList.size());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -482,7 +482,7 @@ public class ObjectColor implements Serializable, Copyable<ObjectColor>, Compara
|
|||
public ColoredManaSymbol getOneColoredManaSymbol() {
|
||||
|
||||
if (isMulticolored()) {
|
||||
throw new IllegalStateException("Found multicolored object, but it's must call with single mana color.");
|
||||
throw new IllegalStateException("Found multicolor object, but was waiting for simple color.");
|
||||
}
|
||||
|
||||
if (isBlack()) {
|
||||
|
|
Loading…
Reference in a new issue