Fix duplicate MaterialApp in api example test (#154550)
This PR fixes two tests that created a nested `MaterialApp` (and it simplifies another test).
This commit is contained in:
@@ -9,9 +9,7 @@ import 'package:flutter_test/flutter_test.dart';
|
||||
void main() {
|
||||
testWidgets('Tapping FAB increments counter', (WidgetTester tester) async {
|
||||
await tester.pumpWidget(
|
||||
const MaterialApp(
|
||||
home: example.ValueListenableBuilderExample(),
|
||||
),
|
||||
const example.ValueListenableBuilderExampleApp(),
|
||||
);
|
||||
|
||||
String getCount() {
|
||||
|
||||
Reference in New Issue
Block a user