We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5ae6473 + 04c3f99 commit 33fa8a8Copy full SHA for 33fa8a8
src/main/java/org/junit/rules/ExpectedException.java
@@ -20,7 +20,7 @@
20
*
21
* <pre> public class SimpleExpectedExceptionTest {
22
* @Rule
23
- * public ExpectedException thrown= ExpectedException.none();
+ * public ExpectedException thrown = ExpectedException.none();
24
25
* @Test
26
* public void throwsNothing() {
@@ -43,7 +43,7 @@
43
44
* <p>
45
* Instead of specifying the exception's type you can characterize the
46
- * expected exception based on other criterias, too:
+ * expected exception based on other criteria, too:
47
48
* <ul>
49
* <li>The exception's message contains a specific text: {@link #expectMessage(String)}</li>
0 commit comments