Fix typos in javadoc
This commit is contained in:
parent
4b2fdee3fc
commit
898a903d2f
|
|
@ -18,7 +18,7 @@ package org.springframework.boot.test.system;
|
|||
|
||||
/**
|
||||
* Provides access to {@link System#out System.out} and {@link System#err System.err}
|
||||
* output that has been capture by the {@link OutputCaptureExtension}. Can be used to
|
||||
* output that has been captured by the {@link OutputCaptureExtension}. Can be used to
|
||||
* apply assertions either using AssertJ or standard JUnit assertions. For example:
|
||||
* <pre class="code">
|
||||
* assertThat(output).contains("started"); // Checks all output
|
||||
|
|
|
|||
|
|
@ -276,7 +276,7 @@ class OutputCapture implements CapturedOutput {
|
|||
}
|
||||
|
||||
/**
|
||||
* Save disable and restore AnsiOutput without it needing to be on the classpath.
|
||||
* Save, disable and restore AnsiOutput without it needing to be on the classpath.
|
||||
*/
|
||||
private static class AnsiOutputState {
|
||||
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ import org.junit.jupiter.api.extension.ParameterResolver;
|
|||
* argument to your test class constructor or test method:
|
||||
*
|
||||
* <pre class="code">
|
||||
* @ExtendWith(OutputExtension.class)
|
||||
* @ExtendWith(OutputCaptureExtension.class)
|
||||
* class MyTest {
|
||||
*
|
||||
* @Test
|
||||
|
|
|
|||
Loading…
Reference in New Issue