Fix Javadoc in ContentResultMatchers

Closes gh-1322
This commit is contained in:
Masayasu Yamamoto 2017-02-09 21:33:56 +09:00 committed by Stephane Nicoll
parent 09d18f2ef5
commit 6aa300d733
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ public class ContentResultMatchers {
* Assert the response body content with a Hamcrest {@link Matcher}.
* <pre class="code">
* mockMvc.perform(get("/path"))
* .andExpect(content(containsString("text")));
* .andExpect(content().string(containsString("text")));
* </pre>
*/
public ResultMatcher string(final Matcher<? super String> matcher) {