diff --git a/Mage.Tests/src/test/java/org/mage/test/serverside/base/impl/CardTestPlayerAPIImpl.java b/Mage.Tests/src/test/java/org/mage/test/serverside/base/impl/CardTestPlayerAPIImpl.java index 6e5f305af4..4f95073aa0 100644 --- a/Mage.Tests/src/test/java/org/mage/test/serverside/base/impl/CardTestPlayerAPIImpl.java +++ b/Mage.Tests/src/test/java/org/mage/test/serverside/base/impl/CardTestPlayerAPIImpl.java @@ -161,7 +161,7 @@ public abstract class CardTestPlayerAPIImpl extends MageTestPlayerBase implement CardScanner.scan(errorsList); if (errorsList.size() > 0) { - Assert.fail("Found errors on card loading: " + '\n' + errorsList.stream().collect(Collectors.joining("\n"))); + Assert.fail("Found errors on card loading: " + '\n' + String.join("\n", errorsList)); } }