Skip to content

Commit 4e4d17b

Browse files
committed
Update color_screen_test.dart
1 parent b37c8df commit 4e4d17b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

material_3_demo/test/color_screen_test.dart

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import 'package:flutter/material.dart';
66
import 'package:flutter_test/flutter_test.dart';
77
import 'package:material_3_demo/color_palettes_screen.dart';
88
import 'package:material_3_demo/main.dart';
9+
import 'package:material_3_demo/scheme.dart';
910

1011
import 'component_screen_test.dart';
1112

@@ -69,6 +70,6 @@ void main() {
6970
));
7071
expect(find.text('Light ColorScheme'), findsOneWidget);
7172
expect(find.text('Dark ColorScheme'), findsOneWidget);
72-
expect(find.byType(ColorGroup, skipOffstage: false), findsNWidgets(18));
73+
expect(find.byType(SchemePreview, skipOffstage: false), findsNWidgets(2));
7374
});
7475
}

0 commit comments

Comments
 (0)