Merge branch '2.0.x'

pull/14783/merge
Andy Wilkinson 6 years ago
commit 85a4fb389d

@ -174,8 +174,8 @@ public class NoSuchBeanDefinitionFailureAnalyzerTests {
public void failureAnalysisForUnmatchedQualifier() { public void failureAnalysisForUnmatchedQualifier() {
FailureAnalysis analysis = analyzeFailure( FailureAnalysis analysis = analyzeFailure(
createFailure(QualifiedBeanConfiguration.class)); createFailure(QualifiedBeanConfiguration.class));
assertThat(analysis.getDescription()).contains( assertThat(analysis.getDescription()).containsPattern(
"@org.springframework.beans.factory.annotation.Qualifier(value=alpha)"); "@org.springframework.beans.factory.annotation.Qualifier\\(value=\"*alpha\"*\\)");
} }
private void assertDescriptionConstructorMissingType(FailureAnalysis analysis, private void assertDescriptionConstructorMissingType(FailureAnalysis analysis,

Loading…
Cancel
Save