Fixing duplicate test names.
This commit is contained in:
@@ -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'),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user