8000 Polish · spring-projects/spring-framework@09a58a5 · GitHub
[go: up one dir, main page]

Skip to content
Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 09a58a5

Browse files
committed
Polish
1 parent 10f4ad1 commit 09a58a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/ResponseEntityExceptionHandlerTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ void customExceptionToProblemDetailViaMessageSource() {
172172
.acceptLanguageAsLocales(locale).build());
173173

174174
ResponseEntity<?> responseEntity =
175-
this.exceptionHandler.handleException(new IllegalStateException(), exchange).block();
175+
this.exceptionHandler.handleException(new IllegalStateException("test"), exchange).block();
176176

177177
ProblemDetail body = (ProblemDetail) responseEntity.getBody();
178178
assertThat(body.getDetail()).isEqualTo("Invalid state: A");

0 commit comments

Comments
 (0)
0