Polishing

This commit is contained in:
Juergen Hoeller
2018-07-31 23:40:36 +02:00
parent 4133355b72
commit 8c1290084d
2 changed files with 11 additions and 12 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);
}