Removing old golden checkout for integration test (#33676)

* Removing old golden checkout for integration test

* Removed unused import
This commit is contained in:
Kate Lovett
2019-06-03 09:59:59 -07:00
committed by GitHub
parent 43ecc961cd
commit 89d4267299

View File

@@ -6,7 +6,6 @@ import 'dart:async';
import 'dart:collection';
import 'package:meta/meta.dart';
import 'package:flutter_goldens_client/client.dart';
import '../base/common.dart';
import '../base/file_system.dart';
@@ -137,17 +136,6 @@ class UpdatePackagesCommand extends FlutterCommand {
});
}
// The dev/integration_tests/android_views integration test depends on an assets
// package that is in the goldens repository. We need to make sure that the goldens
// repository is cloned locally before we verify or update pubspecs.
printStatus('Cloning goldens repository...');
try {
final GoldensClient goldensClient = GoldensClient();
await goldensClient.prepare();
} on NonZeroExitCode catch (e) {
throwToolExit(e.stderr, exitCode: e.exitCode);
}
if (isVerifyOnly) {
bool needsUpdate = false;
printStatus('Verifying pubspecs...');