Skip to content

Commit d15673a

Browse files
committed
Apply review changes
1 parent fabc52c commit d15673a

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

documentation/src/docs/asciidoc/release-notes/release-notes-6.1.0-M1.adoc

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,7 @@ repository on GitHub.
5353
==== New Features and Improvements
5454

5555
* Introduce new module `org.junit.start` for writing and running tests. It simplifies
56-
using JUnit in compact source files together with a single module import statement:
57-
[source,java,indent=0]
58-
----
59-
import module org.junit.start;
60-
61-
void main() { JUnit.run(); }
62-
63-
@Test
64-
void test() { Assertions.assertEquals(2, 1 + 1); }
65-
----
56+
using JUnit in compact source files together with a single module import statement.
6657
* Introduce new `dynamicTest(Consumer<? super Configuration>)` factory method for dynamic
6758
tests. It allows configuring the `ExecutionMode` of the dynamic test in addition to its
6859
display name, test source URI, and executable.

platform-tooling-support-tests/src/test/java/platform/tooling/support/tests/JUnitStartTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class JUnitStartTests {
3939

4040
@BeforeAll
4141
static void prepareLocalLibraryDirectoryWithJUnitModules() throws Exception {
42-
copyToWorkspace(Projects.JUNIT_start, workspace);
42+
copyToWorkspace(Projects.JUNIT_START, workspace);
4343
var lib = workspace.resolve("lib");
4444
try {
4545
Files.createDirectories(lib);

platform-tooling-support-tests/src/test/java/platform/tooling/support/tests/Projects.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class Projects {
2121
public static final String GRADLE_KOTLIN_EXTENSIONS = "gradle-kotlin-extensions";
2222
public static final String GRADLE_MISSING_ENGINE = "gradle-missing-engine";
2323
public static final String JAR_DESCRIBE_MODULE = "jar-describe-module";
24-
public static final String JUNIT_start = "junit-start";
24+
public static final String JUNIT_START = "junit-start";
2525
public static final String JUPITER_STARTER = "jupiter-starter";
2626
public static final String KOTLIN_COROUTINES = "kotlin-coroutines";
2727
public static final String MAVEN_SUREFIRE_COMPATIBILITY = "maven-surefire-compatibility";

0 commit comments

Comments
 (0)