mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Merge pull request #48973 from scordio
* pr/48973: Fix non-existent assertion in Javadoc example of getFailure() Closes gh-48973
This commit is contained in:
+1
-1
@@ -419,7 +419,7 @@ public class ApplicationContextAssert<C extends ApplicationContext>
|
||||
* becoming the object under test.
|
||||
* <p>
|
||||
* Example: <pre class="code">
|
||||
* assertThat(context).getFailure().containsMessage("missing bean");
|
||||
* assertThat(context).getFailure().hasMessageContaining("missing bean");
|
||||
* </pre>
|
||||
* @return assertions on the cause of the failure
|
||||
* @throws AssertionError if the application context started without a failure
|
||||
|
||||
Reference in New Issue
Block a user