From 486b783076230b291e19b34086a4cefd754ce977 Mon Sep 17 00:00:00 2001 From: YoungSeok Yoon Date: Mon, 25 Jul 2016 12:23:00 -0700 Subject: [PATCH] Fix the documentation for find.byElementPredicate (#4935) --- packages/flutter_test/lib/src/finders.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter_test/lib/src/finders.dart b/packages/flutter_test/lib/src/finders.dart index 610b638d04..3b3a7ffe31 100644 --- a/packages/flutter_test/lib/src/finders.dart +++ b/packages/flutter_test/lib/src/finders.dart @@ -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)