Fix tests (#12132)
Fixes some tests that weren't aggressively catching exceptions. Fixes some actual failures that were found because of this. Tries to fix an intermittent failure with crash1_test.dart which could be a race condition.
This commit is contained in:
@@ -46,5 +46,14 @@ class Dots extends SingleChildRenderObjectWidget {
|
||||
}
|
||||
|
||||
void main() {
|
||||
runApp(const Dots(child: const Center(child: const Text('Touch me!'))));
|
||||
runApp(
|
||||
const Directionality(
|
||||
textDirection: TextDirection.ltr,
|
||||
child: const Dots(
|
||||
child: const Center(
|
||||
child: const Text('Touch me!'),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user