diff --git a/src/functionalTest/java/codechicken/multipart/test/ForgeMultipartFunctionalTestMod.java b/src/functionalTest/java/codechicken/multipart/test/ForgeMultipartFunctionalTestMod.java index 7f108ee..b6c4e48 100644 --- a/src/functionalTest/java/codechicken/multipart/test/ForgeMultipartFunctionalTestMod.java +++ b/src/functionalTest/java/codechicken/multipart/test/ForgeMultipartFunctionalTestMod.java @@ -71,7 +71,8 @@ public final class ForgeMultipartFunctionalTestMod { throw new IllegalStateException("No ForgeMultipart functional tests were discovered"); } if (summary.getTotalFailureCount() > 0) { - throw new IllegalStateException("ForgeMultipart functional tests failed; check junit-out and the server log"); + throw new IllegalStateException( + "ForgeMultipart functional tests failed; check junit-out and the server log"); } server.addChatMessage(new ChatComponentText("ForgeMultipart functional tests passed")); @@ -91,8 +92,7 @@ public final class ForgeMultipartFunctionalTestMod { } LauncherDiscoveryRequest discovery = LauncherDiscoveryRequestBuilder.request() - .selectors(DiscoverySelectors.selectPackage("codechicken.multipart.test")) - .build(); + .selectors(DiscoverySelectors.selectPackage("codechicken.multipart.test")).build(); SummaryGeneratingListener summaryListener = new SummaryGeneratingListener(); PrintWriter stderr = new PrintWriter(System.err, true); LegacyXmlReportGeneratingListener xmlListener = new LegacyXmlReportGeneratingListener(reportDirectory, stderr); diff --git a/src/test/java/codechicken/multipart/NormalOcclusionCharacterizationTest.java b/src/test/java/codechicken/multipart/NormalOcclusionCharacterizationTest.java index 698c4c4..8e8e94a 100644 --- a/src/test/java/codechicken/multipart/NormalOcclusionCharacterizationTest.java +++ b/src/test/java/codechicken/multipart/NormalOcclusionCharacterizationTest.java @@ -55,14 +55,13 @@ class NormalOcclusionCharacterizationTest { @Test void everyBoxPairMustBeCompatible() { - Traversable existing = scalaBoxes( - box(0, 0, 0, 0.2, 0.2, 0.2), - box(0.8, 0.8, 0.8, 1, 1, 1)); + Traversable existing = scalaBoxes(box(0, 0, 0, 0.2, 0.2, 0.2), box(0.8, 0.8, 0.8, 1, 1, 1)); assertTrue(NormalOcclusionTest.apply(existing, scalaBoxes(box(0.3, 0.3, 0.3, 0.4, 0.4, 0.4)))); - assertFalse(NormalOcclusionTest.apply( - existing, - scalaBoxes(box(0.3, 0.3, 0.3, 0.4, 0.4, 0.4), box(0.9, 0.9, 0.9, 0.95, 0.95, 0.95)))); + assertFalse( + NormalOcclusionTest.apply( + existing, + scalaBoxes(box(0.3, 0.3, 0.3, 0.4, 0.4, 0.4), box(0.9, 0.9, 0.9, 0.95, 0.95, 0.95)))); } @Test