Skip to content

Commit

Permalink
Merge pull request junit-team#1087 from mustafau/patch-1
Browse files Browse the repository at this point in the history
Use Timeout.millis(long) in javadoc for Timeout class
  • Loading branch information
marcphilipp committed Mar 2, 2015
2 parents 9c337dc + 187c564 commit 47707e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/junit/rules/Timeout.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* public static class HasGlobalLongTimeout {
*
* @Rule
* public Timeout globalTimeout= new Timeout(20);
* public Timeout globalTimeout = Timeout.millis(20);
*
* @Test
* public void run1() throws InterruptedException {
Expand Down

0 comments on commit 47707e8

Please sign in to comment.