@@ -8,7 +8,7 @@ import 'package:flutter_test/flutter_test.dart';
88
99void  main () {
1010  testWidgets ('debugCheckHasMaterial control test' , (WidgetTester  tester) async  {
11-     await  tester.pumpWidget (const  ListTile ( ));
11+     await  tester.pumpWidget (const  Chip (label :   Text ( 'label' ) ));
1212    final  dynamic  exception =  tester.takeException ();
1313    expect (exception, isFlutterError);
1414    final  FlutterError  error =  exception as  FlutterError ;
@@ -28,7 +28,7 @@ void main() {
2828      error.toStringDeep (),
2929      'FlutterError\n ' 
3030      '   No Material widget found.\n ' 
31-       '   ListTile  widgets require a Material widget ancestor.\n ' 
31+       '   Chip  widgets require a Material widget ancestor.\n ' 
3232      '   In material design, most widgets are conceptually "printed" on a\n ' 
3333      "   sheet of material. In Flutter's material library, that material\n " 
3434      '   is represented by the Material widget. It is the Material widget\n ' 
@@ -39,7 +39,7 @@ void main() {
3939      '   one, or use a widget that contains Material itself, such as a\n ' 
4040      '   Card, Dialog, Drawer, or Scaffold.\n ' 
4141      '   The specific widget that could not find a Material ancestor was:\n ' 
42-       '     ListTile \n ' 
42+       '     Chip \n ' 
4343      '   The ancestors of this widget were:\n ' 
4444      '     [root]\n ' ,
4545    );
0 commit comments