@@ -47,26 +47,26 @@ class ModularUserGuideTests {
4747 @SuppressWarnings("removal")
4848 open module documentation {
4949 exports example.testkit; // just here to ensure documentation example sources are compiled
50-
50+
5151 requires org.junit.jupiter.api;
5252 requires org.junit.jupiter.api.locale;
5353 requires org.junit.jupiter.api.timezone;
5454 requires org.junit.jupiter.migrationsupport;
5555 requires org.junit.jupiter.params;
56-
56+
5757 requires org.junit.platform.engine;
5858 requires org.junit.platform.reporting;
5959 requires org.junit.platform.suite;
6060 requires org.junit.platform.testkit;
61-
61+
6262 // Byte Buddy is used by AssertJ's soft assertions which are used by the Engine Test Kit
6363 requires net.bytebuddy;
64-
64+
6565 requires java.desktop;
6666 requires java.logging;
6767 requires java.scripting;
6868 requires jdk.httpserver;
69-
69+
7070 provides org.junit.platform.launcher.LauncherSessionListener
7171 with example.session.GlobalSetupTeardownListener;
7272 }
@@ -92,8 +92,8 @@ private static List<String> compile(Path temp, Writer out, Writer err) throws Ex
9292 args .add (lib .toString ());
9393
9494 args .add ("--patch-module" );
95- args .add ("documentation=" + Path .of ("../documentation/src/main/java" ) + File .pathSeparator + Path . of (
96- "../documentation/src/test/java" ));
95+ args .add ("documentation=" + Path .of ("../documentation/src/main/java" ) + File .pathSeparator
96+ + Path . of ( "../documentation/src/test/java" ));
9797
9898 args .add ("--module-source-path" );
9999 args .add (temp .resolve ("src" ).toString ());
@@ -124,8 +124,8 @@ private static void junit(Path temp, OutputFiles outputFiles) throws Exception {
124124 .addArguments ("-XX:StartFlightRecording:filename=" + temp .resolve ("user-guide.jfr" )) //
125125 .addArguments ("--show-version" , "--show-module-resolution" ) //
126126 .addArguments ("--module-path" , String .join (File .pathSeparator , //
127- temp .resolve ("destination" ).toString (), //
128- temp .resolve ("lib" ).toString () //
127+ temp .resolve ("destination" ).toString (), //
128+ temp .resolve ("lib" ).toString () //
129129 )) //
130130 .addArguments ("--add-modules" , "documentation" ) //
131131 .addArguments ("--patch-module" , "documentation=" + projectDir .resolve ("src/test/resources" )) //
@@ -157,11 +157,11 @@ void runTestsFromUserGuideWithinModularBoundaries(@TempDir Path temp,
157157 assertTrue (err .toString ().isBlank (), () -> err + "\n \n " + String .join ("\n " , args ));
158158 var listing = treeWalk (temp );
159159 assertLinesMatch (List .of ( //
160- "destination" , //
161- ">> CLASSES AND JARS >>" , //
162- "src" , //
163- "src/documentation" , //
164- "src/documentation/module-info.java" //
160+ "destination" , //
161+ ">> CLASSES AND JARS >>" , //
162+ "src" , //
163+ "src/documentation" , //
164+ "src/documentation/module-info.java" //
165165 ), listing );
166166
167167 junit (temp , outputFiles );
0 commit comments