[flutter_tool] Add messaging to --fast-start application (#47155)
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user