提交 3f80b4ab 编写于 作者: S Sebastien Deleuze

Polish

上级 97155f1a
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册