Unverified Commit 2866f79c authored by Jason Simmons's avatar Jason Simmons Committed by GitHub

Initialize all bindings before starting the text_editing_action_target test suite (#90067)

Fixes https://github.com/flutter/flutter/issues/90057
parent b8899159
...@@ -93,6 +93,9 @@ class _FakeEditableTextState with TextSelectionDelegate, TextEditingActionTarget ...@@ -93,6 +93,9 @@ class _FakeEditableTextState with TextSelectionDelegate, TextEditingActionTarget
} }
void main() { void main() {
// Ensure that all TestRenderingFlutterBinding bindings are initialized.
renderer;
test('moveSelectionLeft/RightByLine stays on the current line', () async { test('moveSelectionLeft/RightByLine stays on the current line', () async {
const String text = 'one two three\n\nfour five six'; const String text = 'one two three\n\nfour five six';
final _FakeEditableTextState editableTextState = _FakeEditableTextState( final _FakeEditableTextState editableTextState = _FakeEditableTextState(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment