1
0
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:
Brett Morgan
2021-06-07 20:53:25 +10:00
committed by GitHub
parent 4069bfbe9e
commit 39b0049345
12 changed files with 86 additions and 12 deletions

View File

@@ -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);