Fixing duplicate test names.

This commit is contained in:
Kate Lovett
2019-04-25 10:05:13 -07:00
parent ba011fd353
commit a38311e6c8
2 changed files with 3 additions and 3 deletions

View File

@@ -89,7 +89,7 @@ void main() {
);
await expectLater(
find.byType(Container),
matchesSkiaGoldFile('shadow.PhysicalModel.disabled.png'),
matchesSkiaGoldFile('shadow.PhysicalModel.disabled.0.png'),
// matchesGoldenFile('shadow.PhysicalModel.disabled.png'),
);
debugDisableShadows = false;
@@ -129,7 +129,7 @@ void main() {
await tester.pumpWidget(build(elevation.toDouble()));
await expectLater(
find.byType(Container),
matchesSkiaGoldFile('shadow.PhysicalModel.disabled.png'),
matchesSkiaGoldFile('shadow.PhysicalModel.disabled.1.png'),
// matchesGoldenFile('shadow.PhysicalModel.disabled.png'),
);
}

View File

@@ -148,7 +148,7 @@ class SkiaGoldClient {
Future<String> _getCommitHash() async {
// TODO: Remove after baseline is established and pre-commit works
return 'b27b3d744670bb9312824ec94353b93e7d0424ea';
return '96f15c74adebb221eb044d3fc71b2d62da0046c0';
// if (!flutterRoot.existsSync()) {
// return null;
// } else {