We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6133ac8 + dd297dd commit b8adef3Copy full SHA for b8adef3
src/main/java/org/junit/Test.java
@@ -59,8 +59,8 @@ private None() {
59
}
60
61
/**
62
- * Optionally specify <code>expected</code>, a Throwable, to cause a test method to succeed iff
63
- * an exception of the specified class is thrown by the method.
+ * Optionally specify <code>expected</code>, a Throwable, to cause a test method to succeed if
+ * and only if an exception of the specified class is thrown by the method.
64
*/
65
Class<? extends Throwable> expected() default None.class;
66
0 commit comments