commit | 2866f79c89e9540595727481b51c783dc65e8bbe | [log] [tgz] |
---|---|---|
author | Jason Simmons <jason-simmons@users.noreply.github.com> | Tue Sep 14 10:46:35 2021 -0700 |
committer | GitHub <noreply@github.com> | Tue Sep 14 12:46:35 2021 -0500 |
tree | 2dda32143304ae3a67ff646722521630b6d5d7de | |
parent | b889915997df2ad9f4329b7caba1eee6b2c53b31 [diff] |
Initialize all bindings before starting the text_editing_action_target test suite (#90067) Fixes https://github.com/flutter/flutter/issues/90057
diff --git a/packages/flutter/test/widgets/text_editing_action_target_test.dart b/packages/flutter/test/widgets/text_editing_action_target_test.dart index 7c16292..a93565b 100644 --- a/packages/flutter/test/widgets/text_editing_action_target_test.dart +++ b/packages/flutter/test/widgets/text_editing_action_target_test.dart
@@ -93,6 +93,9 @@ } void main() { + // Ensure that all TestRenderingFlutterBinding bindings are initialized. + renderer; + test('moveSelectionLeft/RightByLine stays on the current line', () async { const String text = 'one two three\n\nfour five six'; final _FakeEditableTextState editableTextState = _FakeEditableTextState(