From 42a95b8f35708612e40ad3b2ecd215da3216b6c1 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Mon, 29 Oct 2018 14:47:20 +0100 Subject: [PATCH] Fix typo and polish --- .../test/web/reactive/server/WiretapConnector.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-test/src/main/java/org/springframework/test/web/reactive/server/WiretapConnector.java b/spring-test/src/main/java/org/springframework/test/web/reactive/server/WiretapConnector.java index 13547d1336f..770074560ff 100644 --- a/spring-test/src/main/java/org/springframework/test/web/reactive/server/WiretapConnector.java +++ b/spring-test/src/main/java/org/springframework/test/web/reactive/server/WiretapConnector.java @@ -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;