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 1e4203ca2f
commit 57a142ce65

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>