diff --git a/src/main/java/org/junit/Test.java b/src/main/java/org/junit/Test.java index 1d5d3e1dd263..0a9b7aa3e299 100644 --- a/src/main/java/org/junit/Test.java +++ b/src/main/java/org/junit/Test.java @@ -32,7 +32,8 @@ * an exception. If it doesn't throw an exception or if it throws a different exception * than the one declared, the test fails. For example, the following test succeeds: *
- *    @Test(expected=IndexOutOfBoundsException.class) public void outOfBounds() {
+ *    @Test(expected=IndexOutOfBoundsException.class)
+ *    public void outOfBounds() {
  *       new ArrayList<Object>().get(1);
  *    }
  * 
@@ -46,7 +47,8 @@ * The parameter timeout causes a test to fail if it takes * longer than a specified amount of clock time (measured in milliseconds). The following test fails: *
- *    @Test(timeout=100) public void infinity() {
+ *    @Test(timeout=100)
+ *    public void infinity() {
  *       while(true);
  *    }
  * 
@@ -55,7 +57,8 @@ * following test may or may not fail depending on how the operating system * schedules threads: *
- *    @Test(timeout=100) public void sleep100() {
+ *    @Test(timeout=100)
+ *    public void sleep100() {
  *       Thread.sleep(100);
  *    }
  *