Skip to content

Commit

Permalink
Tolerate change in method format
Browse files Browse the repository at this point in the history
This commit polishes the assertions of the NoSuchMethodError failure
analyzer as the method format changes according to the JDK.

See gh-21587
  • Loading branch information
snicoll committed May 27, 2020
1 parent 840b029 commit 4317b29
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -108,7 +108,7 @@ void whenAnInheritedMethodIsMissingThenNoSuchMethodErrorIsAnalyzed() {
FailureAnalysis analysis = new NoSuchMethodFailureAnalyzer().analyze(failure);
assertThat(analysis).isNotNull();
assertThat(analysis.getDescription()).contains(R2dbcMappingContext.class.getName() + ".<init>(")
.contains("setForceQuote(Z)V")
.contains(R2dbcMappingContext.class.getName() + ".setForceQuote(")
.contains("class, org.springframework.data.r2dbc.mapping.R2dbcMappingContext,")
.contains(" org.springframework.data.r2dbc.mapping.R2dbcMappingContext")
.contains(" org.springframework.data.relational.core.mapping.RelationalMappingContext")
Expand Down

0 comments on commit 4317b29

Please sign in to comment.