@@ -471,7 +471,7 @@ public static org.hamcrest.Matcher<java.lang.String> containsString(java.lang.St
471471 * Creates a matcher that matches if the examined {@link String} contains the specified
472472 * {@link String} anywhere, ignoring case.
473473 * For example:
474- * <pre>assertThat("myStringOfNote", containsString("ring "))</pre>
474+ * <pre>assertThat("myStringOfNote", containsStringIgnoringCase("Ring "))</pre>
475475 *
476476 * @param substring
477477 * the substring that the returned matcher will expect to find within any examined string
@@ -501,7 +501,7 @@ public static org.hamcrest.Matcher<java.lang.String> startsWith(java.lang.String
501501 * {@link String}, ignoring case
502502 * </p>
503503 * For example:
504- * <pre>assertThat("myStringOfNote", startsWith("my "))</pre>
504+ * <pre>assertThat("myStringOfNote", startsWithIgnoringCase("My "))</pre>
505505 *
506506 * @param prefix
507507 * the substring that the returned matcher will expect at the start of any examined string
@@ -527,7 +527,7 @@ public static org.hamcrest.Matcher<java.lang.String> endsWith(java.lang.String s
527527 * Creates a matcher that matches if the examined {@link String} ends with the specified
528528 * {@link String}, ignoring case.
529529 * For example:
530- * <pre>assertThat("myStringOfNote", endsWith("Note "))</pre>
530+ * <pre>assertThat("myStringOfNote", endsWithIgnoringCase("note "))</pre>
531531 *
532532 * @param suffix
533533 * the substring that the returned matcher will expect at the end of any examined string
@@ -1633,4 +1633,5 @@ public static org.hamcrest.Matcher<org.w3c.dom.Node> hasXPath(java.lang.String x
16331633 return org .hamcrest .xml .HasXPath .hasXPath (xPath , namespaceContext );
16341634 }
16351635
1636+
16361637}
0 commit comments