Skip to content

Commit f89ce02

Browse files
authored
Updated rfw/test/material_widgets_test.dart for M3 (#4316)
The appearance of the golden image created by the rfw `'Material widgets'` test depends on the Material2 theme, which is currently the default theme. Updated the test to ensure that the test continues to succeed when the default theme is changed to Material3. See flutter/flutter#127064
1 parent e073e55 commit f89ce02

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/rfw/test/material_widgets_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ void main() {
2424
final List<String> eventLog = <String>[];
2525
await tester.pumpWidget(
2626
MaterialApp(
27+
theme: ThemeData(useMaterial3: false),
2728
home: RemoteWidget(
2829
runtime: runtime,
2930
data: data,

0 commit comments

Comments
 (0)