1
0
mirror of https://github.com/flutter/samples.git synced 2026-05-20 14:07:34 +00:00

Add flutter_lints (#808)

This commit is contained in:
Brett Morgan
2021-06-09 06:48:39 +10:00
committed by GitHub
parent 6acb879dfa
commit b34cc5671a
6 changed files with 61 additions and 27 deletions

View File

@@ -9,8 +9,7 @@ import 'package:flutter_test/flutter_test.dart';
import 'package:mockito/mockito.dart';
void main() {
testWidgets('Pressing clear calls the cancel API',
(WidgetTester tester) async {
testWidgets('Pressing clear calls the cancel API', (tester) async {
MockHostBookApi mockHostApi = MockHostBookApi();
await tester.pumpWidget(
@@ -24,8 +23,7 @@ void main() {
verify(mockHostApi.cancel());
});
testWidgets('Pressing done calls the finish editing API',
(WidgetTester tester) async {
testWidgets('Pressing done calls the finish editing API', (tester) async {
MockHostBookApi mockHostApi = MockHostBookApi();
await tester.pumpWidget(