Browse Source

Fix typo and polish

pull/2005/head
Sam Brannen 6 years ago
parent
commit
42a95b8f35
  1. 4
      spring-test/src/main/java/org/springframework/test/web/reactive/server/WiretapConnector.java

4
spring-test/src/main/java/org/springframework/test/web/reactive/server/WiretapConnector.java

@ -192,8 +192,8 @@ class WiretapConnector implements ClientHttpConnector { @@ -192,8 +192,8 @@ class WiretapConnector implements ClientHttpConnector {
//noinspection ConstantConditions
(this.publisher != null ? this.publisher : this.publisherNested)
.onErrorMap(ex -> new IllegalStateException(
"Content was not been consumed and " +
"an error was raised on attempt to produce it:", ex))
"Content has not been consumed, and " +
"an error was raised while attempting to produce it.", ex))
.subscribe();
}
return this.content;

Loading…
Cancel
Save