Polish
Closes gh-10636
This commit is contained in:
committed by
Stephane Nicoll
parent
0af4536316
commit
5aa32b3d0f
@@ -74,7 +74,6 @@ public class ApplicationContextAssertTests {
|
||||
@Test
|
||||
public void hasBeanWhenNotStartedShouldFail() {
|
||||
this.thrown.expect(AssertionError.class);
|
||||
this.thrown.expectMessage("failed to start");
|
||||
this.thrown.expectMessage(String
|
||||
.format("but context failed to start:%n java.lang.RuntimeException"));
|
||||
assertThat(getAssert(this.failure)).hasBean("foo");
|
||||
|
||||
Reference in New Issue
Block a user