mirror of
https://github.com/flutter/flutter
synced 2024-10-12 19:23:02 +00:00
Modified platform specific golden file test.
This commit is contained in:
parent
04ad0ffa1e
commit
abb555fe94
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue