Skip to content

Commit

Permalink
Fix method name in TimeoutDemo
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Jun 30, 2019
1 parent 4f2da09 commit 6679be8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/src/test/java/example/TimeoutDemo.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ void setUp() {

@Test
@Timeout(value = 100, unit = TimeUnit.MILLISECONDS)
void failsIfExecutionTimeExceedsFiveSeconds() {
void failsIfExecutionTimeExceeds100Milliseconds() {
// fails if execution time exceeds 100 milliseconds
}

Expand Down

0 comments on commit 6679be8

Please sign in to comment.