Modified platform specific golden file test.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -189,7 +189,7 @@ class SkiaGoldClient {
|
||||
|
||||
Future<String> _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 {
|
||||
|
||||
Reference in New Issue
Block a user