Skip to content

Commit 048c482

Browse files
committed
Fix indentation of usage example
1 parent 7d483c7 commit 048c482

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

junit-start/src/main/java/module-info.java

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,19 @@
88
* https://www.eclipse.org/legal/epl-v20.html
99
*/
1010

11-
1211
/// Defines the API of the JUnit Start module for writing and running tests.
1312
///
14-
/// Usage example:
13+
/// Usage example in a `HelloTests.java` compact source-file program:
1514
/// ```java
1615
/// import module org.junit.start;
1716
///
18-
/// void main() {
19-
/// JUnit.run();
20-
/// }
17+
/// void main() {
18+
/// JUnit.run();
19+
/// }
2120
///
22-
/// @Test
23-
/// void addition() {
24-
/// Assertions.assertEquals(2, 1 + 1, "Addition error detected!");
25-
/// }
21+
/// @Test
22+
/// void addition() {
23+
/// Assertions.assertEquals(2, 1 + 1, "Addition error detected!");
2624
/// }
2725
/// ```
2826
module org.junit.start {

0 commit comments

Comments
 (0)