We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 962a049 commit 22ae158Copy full SHA for 22ae158
test/widget_test.dart
@@ -13,17 +13,5 @@ void main() {
13
testWidgets('Counter increments smoke test', (WidgetTester tester) async {
14
// Build our app and trigger a frame.
15
await tester.pumpWidget(new MyApp());
16
-
17
- // Verify that our counter starts at 0.
18
- expect(find.text('0'), findsOneWidget);
19
- expect(find.text('1'), findsNothing);
20
21
- // Tap the '+' icon and trigger a frame.
22
- await tester.tap(find.byIcon(Icons.add));
23
- await tester.pump();
24
25
- // Verify that our counter has incremented.
26
- expect(find.text('0'), findsNothing);
27
- expect(find.text('1'), findsOneWidget);
28
});
29
}
0 commit comments