File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/flutter_test/lib/src Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -83,16 +83,16 @@ class CommonFinders {
83
83
/// ## Sample code
84
84
///
85
85
/// ```dart
86
- /// expect(find.textContain ('Back'), findsOneWidget);
87
- /// expect(find.textContain (RegExp(r'(\w+)')), findsOneWidget);
86
+ /// expect(find.textContaining ('Back'), findsOneWidget);
87
+ /// expect(find.textContaining (RegExp(r'(\w+)')), findsOneWidget);
88
88
/// ```
89
89
///
90
90
/// This will match [Text] , [Text.rich] , and [EditableText] widgets that
91
91
/// contain the given pattern : 'Back' or RegExp(r'(\w+)').
92
92
///
93
93
/// ```dart
94
- /// expect(find.textContain ('Close', findRichText: true), findsOneWidget);
95
- /// expect(find.textContain (RegExp(r'(\w+)'), findRichText: true), findsOneWidget);
94
+ /// expect(find.textContaining ('Close', findRichText: true), findsOneWidget);
95
+ /// expect(find.textContaining (RegExp(r'(\w+)'), findRichText: true), findsOneWidget);
96
96
/// ```
97
97
///
98
98
/// This will match [Text] , [Text.rich] , [EditableText] , as well as standalone
You can’t perform that action at this time.
0 commit comments