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() {
FailureAnalysis analysis = analyzeFailure(
createFailure(QualifiedBeanConfiguration.class));
assertThat(analysis.getDescription()).contains(
"@org.springframework.beans.factory.annotation.Qualifier(value=alpha)");
assertThat(analysis.getDescription()).containsPattern(
"@org.springframework.beans.factory.annotation.Qualifier\\(value=\"*alpha\"*\\)");
}
private void assertDescriptionConstructorMissingType(FailureAnalysis analysis,

Loading…
Cancel
Save