mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-23 14:40:00 +00:00
Polish
This commit is contained in:
+1
-1
@@ -57,7 +57,7 @@ public class ServerHttpResponseTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void writeWithWithComplete() throws Exception {
|
||||
public void writeWithError() throws Exception {
|
||||
TestServerHttpResponse response = new TestServerHttpResponse();
|
||||
IllegalStateException error = new IllegalStateException("boo");
|
||||
response.writeWith(Flux.error(error)).otherwise(ex -> Mono.empty()).get();
|
||||
|
||||
Reference in New Issue
Block a user