Polishing

This commit is contained in:
Juergen Hoeller
2018-07-31 23:57:19 +02:00
parent 65d5cb3663
commit 9b671f8408
4 changed files with 23 additions and 24 deletions

View File

@@ -156,7 +156,7 @@ class DefaultMvcResult implements MvcResult {
*/
private boolean awaitAsyncDispatch(long timeout) {
Assert.state(this.asyncDispatchLatch != null,
"The asyncDispatch CountDownLatch was not set by the TestDispatcherServlet.\n");
"The asyncDispatch CountDownLatch was not set by the TestDispatcherServlet.");
try {
return this.asyncDispatchLatch.await(timeout, TimeUnit.MILLISECONDS);
}