mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-26 03:19:02 +00:00
Merge branch '4.0.x'
Closes gh-48978
This commit is contained in:
+1
-1
@@ -436,7 +436,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