mirror of
https://github.com/flutter/samples.git
synced 2025-11-10 06:48:26 +00:00
Add flutter_lints to null_safety (#828)
This commit is contained in:
@@ -4,9 +4,9 @@ import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:null_safe_app/goodapp.dart';
|
||||
|
||||
void main() {
|
||||
testWidgets('App smoke test', (WidgetTester tester) async {
|
||||
testWidgets('App smoke test', (tester) async {
|
||||
// Build our app and trigger a frame.
|
||||
await tester.pumpWidget(GoodMyApp());
|
||||
await tester.pumpWidget(const GoodMyApp());
|
||||
|
||||
// Verify that we have a forecast, or a managed failure.
|
||||
expect(find.textContaining('Temperature'), findsOneWidget);
|
||||
|
||||
Reference in New Issue
Block a user