Fix outdated ExampleMatcher docs.

Closes #2404
This commit is contained in:
Yanming Zhou
2021-07-07 09:30:31 +08:00
committed by Mark Paluch
parent 45e61dfa66
commit 6c6f1b4014

View File

@@ -110,7 +110,7 @@ person.setFirstname("Dave"); <2>
ExampleMatcher matcher = ExampleMatcher.matching() <3>
.withIgnorePaths("lastname") <4>
.withIncludeNullValues() <5>
.withStringMatcherEnding(); <6>
.withStringMatcher(StringMatcher.ENDING); <6>
Example<Person> example = Example.of(person, matcher); <7>