Skip to content

Commit 2866f79

Browse files
Initialize all bindings before starting the text_editing_action_target test suite (#90067)
Fixes #90057
1 parent b889915 commit 2866f79

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/flutter/test/widgets/text_editing_action_target_test.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ class _FakeEditableTextState with TextSelectionDelegate, TextEditingActionTarget
9393
}
9494

9595
void main() {
96+
// Ensure that all TestRenderingFlutterBinding bindings are initialized.
97+
renderer;
98+
9699
test('moveSelectionLeft/RightByLine stays on the current line', () async {
97100
const String text = 'one two three\n\nfour five six';
98101
final _FakeEditableTextState editableTextState = _FakeEditableTextState(

0 commit comments

Comments
 (0)