diff --git a/packages/flutter/test/widgets/widget_inspector_test.dart b/packages/flutter/test/widgets/widget_inspector_test.dart index eb31409f94..439d8a51cf 100644 --- a/packages/flutter/test/widgets/widget_inspector_test.dart +++ b/packages/flutter/test/widgets/widget_inspector_test.dart @@ -1999,9 +1999,10 @@ class TestWidgetInspectorService extends Object with WidgetInspectorService { ); // Add a margin so that the clip icon shows up in the screenshot. // This golden image is platform dependent due to the clip icon. + final String platform = Platform.operatingSystem; await expectLater( clipRectScreenshot, - matchesSkiaGoldFile('inspector.clipRect_debugPaint_margin.png'), + matchesSkiaGoldFile('inspector.clipRect_debugPaint_margin.$platform.png'), ); // Verify we get the same image if we go through the service extension diff --git a/packages/flutter_goldens_client/lib/client.dart b/packages/flutter_goldens_client/lib/client.dart index b0141f9d99..3dc8a5769f 100644 --- a/packages/flutter_goldens_client/lib/client.dart +++ b/packages/flutter_goldens_client/lib/client.dart @@ -189,7 +189,7 @@ class SkiaGoldClient { Future _getCommitHash() async { // TODO(katelovett): Remove after pre-commit tests can be ingested by Skia Gold - return 'd4e4726ac262b9f78b002b696f915f552fed3fc8'; + return 'e51947241b37790a9e4e33bfdef59aaa9b930851'; // if (!flutterRoot.existsSync()) { // return null; // } else {