Skip to content

Commit

Permalink
Make RegisterForReflectionTestCase#testLambdaCapturing compatible wit…
Browse files Browse the repository at this point in the history
…h Java 21
  • Loading branch information
gsmet committed Oct 23, 2023
1 parent 18e3475 commit 074fb16
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public void testLambdaCapturing() {
final String resourceLambda = BASE_PKG + ".ResourceLambda";

assertRegistration("ResourceLambda", resourceLambda);
RestAssured.given().when().get("/reflection/lambda").then().body(startsWith("Comparator$$Lambda$"));
RestAssured.given().when().get("/reflection/lambda").then().body(startsWith("Comparator$$Lambda"));
}

private void assertRegistration(String expected, String queryParam) {
Expand Down

0 comments on commit 074fb16

Please sign in to comment.