Skip to content

Commit

Permalink
Updated rfw/test/material_widgets_test.dart for M3 (#4316)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
HansMuller committed Jun 27, 2023
1 parent e073e55 commit f89ce02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/rfw/test/material_widgets_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ void main() {
final List<String> eventLog = <String>[];
await tester.pumpWidget(
MaterialApp(
theme: ThemeData(useMaterial3: false),
home: RemoteWidget(
runtime: runtime,
data: data,
Expand Down

0 comments on commit f89ce02

Please sign in to comment.