Skip to content

Commit 6679be8

Browse files
committed
Fix method name in TimeoutDemo
1 parent 4f2da09 commit 6679be8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: documentation/src/test/java/example/TimeoutDemo.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ void setUp() {
2727

2828
@Test
2929
@Timeout(value = 100, unit = TimeUnit.MILLISECONDS)
30-
void failsIfExecutionTimeExceedsFiveSeconds() {
30+
void failsIfExecutionTimeExceeds100Milliseconds() {
3131
// fails if execution time exceeds 100 milliseconds
3232
}
3333

0 commit comments

Comments
 (0)