Initialize all bindings before starting the text_editing_action_target test suite (#90067)
Fixes https://github.com/flutter/flutter/issues/90057
This commit is contained in:
parent
b889915997
commit
2866f79c89
@ -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(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user