Skip to content

Commit

Permalink
Merge branch '2.4.x' into 2.5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkinsona committed Jun 17, 2021
2 parents 7ee3b28 + 204dd29 commit 566a642
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,11 @@ void jdkProxyCausesInjectionFailure() {
assertThat(analysis.getDescription()).startsWith("The bean 'asyncBean'");
assertThat(analysis.getDescription())
.containsPattern("The bean is of type '" + AsyncBean.class.getPackage().getName() + ".\\$Proxy.*'");
assertThat(analysis.getDescription()).contains("and implements:\n\t" + SomeInterface.class.getName());
assertThat(analysis.getDescription())
.contains(String.format("and implements:%n\t") + SomeInterface.class.getName());
assertThat(analysis.getDescription()).contains("Expected a bean of type '" + AsyncBean.class.getName() + "'");
assertThat(analysis.getDescription()).contains("which implements:\n\t" + SomeInterface.class.getName());
assertThat(analysis.getDescription())
.contains(String.format("which implements:%n\t") + SomeInterface.class.getName());
}

private FailureAnalysis performAnalysis(Class<?> configuration) {
Expand Down

0 comments on commit 566a642

Please sign in to comment.