Unverified Commit 5f6ca683 authored by Yegor's avatar Yegor Committed by GitHub

Enable heroes_test.dart on the web matrix (#43662)

parent 0120c414
...@@ -62,7 +62,6 @@ const int kWebBatchSize = 20; ...@@ -62,7 +62,6 @@ const int kWebBatchSize = 20;
// TODO(yjbanov): we're getting rid of this blacklist as part of https://github.com/flutter/flutter/projects/60 // TODO(yjbanov): we're getting rid of this blacklist as part of https://github.com/flutter/flutter/projects/60
const List<String> kWebTestFileBlacklist = <String>[ const List<String> kWebTestFileBlacklist = <String>[
'test/examples/sector_layout_test.dart', 'test/examples/sector_layout_test.dart',
'test/widgets/heroes_test.dart',
'test/widgets/text_test.dart', 'test/widgets/text_test.dart',
'test/widgets/selectable_text_test.dart', 'test/widgets/selectable_text_test.dart',
'test/widgets/color_filter_test.dart', 'test/widgets/color_filter_test.dart',
......
...@@ -186,6 +186,7 @@ class MyStatefulWidgetState extends State<MyStatefulWidget> { ...@@ -186,6 +186,7 @@ class MyStatefulWidgetState extends State<MyStatefulWidget> {
Future<void> main() async { Future<void> main() async {
final ui.Image testImage = await createTestImage(); final ui.Image testImage = await createTestImage();
assert(testImage != null);
setUp(() { setUp(() {
transitionFromUserGestures = false; transitionFromUserGestures = false;
......
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