[flutter_tool] Add messaging to --fast-start application (#47155)

This commit is contained in:
Jonah Williams
2019-12-16 15:02:23 -08:00
committed by GitHub
parent aa071efd17
commit 556301de43
2 changed files with 19 additions and 3 deletions

View File

@@ -8,9 +8,10 @@ import 'package:flutter_test/flutter_test.dart';
import 'package:splash/main.dart' as entrypoint;
void main() {
testWidgets('Displays flutter logo', (WidgetTester tester) async {
testWidgets('Displays flutter logo and message', (WidgetTester tester) async {
entrypoint.main();
expect(find.byType(FlutterLogo), findsOneWidget);
expect(find.text('This app is only meant to be run under the Flutter debugger'), findsOneWidget);
});
}