Skip to content

Commit 33fa8a8

Browse files
committed
Merge pull request junit-team#1206 from Xaerxess/doc-fixes
Fix typo and formatting in JavaDoc
2 parents 5ae6473 + 04c3f99 commit 33fa8a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/junit/rules/ExpectedException.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*
2121
* <pre> public class SimpleExpectedExceptionTest {
2222
* &#064;Rule
23-
* public ExpectedException thrown= ExpectedException.none();
23+
* public ExpectedException thrown = ExpectedException.none();
2424
*
2525
* &#064;Test
2626
* public void throwsNothing() {
@@ -43,7 +43,7 @@
4343
*
4444
* <p>
4545
* Instead of specifying the exception's type you can characterize the
46-
* expected exception based on other criterias, too:
46+
* expected exception based on other criteria, too:
4747
*
4848
* <ul>
4949
* <li>The exception's message contains a specific text: {@link #expectMessage(String)}</li>

0 commit comments

Comments
 (0)