Skip to content

Commit 898a903

Browse files
committed
Fix typos in javadoc
1 parent 4b2fdee commit 898a903

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/system/CapturedOutput.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
/**
2020
* Provides access to {@link System#out System.out} and {@link System#err System.err}
21-
* output that has been capture by the {@link OutputCaptureExtension}. Can be used to
21+
* output that has been captured by the {@link OutputCaptureExtension}. Can be used to
2222
* apply assertions either using AssertJ or standard JUnit assertions. For example:
2323
* <pre class="code">
2424
* assertThat(output).contains("started"); // Checks all output

spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/system/OutputCapture.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ private enum Type {
276276
}
277277

278278
/**
279-
* Save disable and restore AnsiOutput without it needing to be on the classpath.
279+
* Save, disable and restore AnsiOutput without it needing to be on the classpath.
280280
*/
281281
private static class AnsiOutputState {
282282

spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/system/OutputCaptureExtension.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
* argument to your test class constructor or test method:
3838
*
3939
* <pre class="code">
40-
* &#064;ExtendWith(OutputExtension.class)
40+
* &#064;ExtendWith(OutputCaptureExtension.class)
4141
* class MyTest {
4242
*
4343
* &#064;Test

0 commit comments

Comments
 (0)