Fix the documentation for find.byElementPredicate (#4935)

This commit is contained in:
YoungSeok Yoon
2016-07-25 12:23:00 -07:00
committed by Adam Barth
parent b8d15a1e61
commit 486b783076

View File

@@ -107,7 +107,7 @@ class CommonFinders {
///
/// Example:
///
/// expect(tester, hasWidget(find.byWidgetPredicate(
/// expect(tester, hasWidget(find.byElementPredicate(
/// // finds elements of type SingleChildRenderObjectElement, including
/// // those that are actually subclasses of that type.
/// // (contrast with byElementType, which only returns exact matches)