Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(883)

Unified Diff: pkg/analyzer_cli/test/sdk_ext_test.dart

Issue 2658863002: Run analyzer_cli asynchronously. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer_cli/test/package_prefix_test.dart ('k') | pkg/analyzer_cli/test/super_mixin_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer_cli/test/sdk_ext_test.dart
diff --git a/pkg/analyzer_cli/test/sdk_ext_test.dart b/pkg/analyzer_cli/test/sdk_ext_test.dart
index 535897cb4132ec4f6e6fcb7666a251fd3cf63797..48a02cea8cea4d2d39068adf51785992eeeaca57 100644
--- a/pkg/analyzer_cli/test/sdk_ext_test.dart
+++ b/pkg/analyzer_cli/test/sdk_ext_test.dart
@@ -40,12 +40,12 @@ main() {
test('.packages file specified', () async {
String testDir = path.join(testDirectory, 'data', 'packages_file');
- Driver driver = new Driver()
- ..start([
- '--packages',
- path.join(testDir, '_packages'),
- path.join(testDir, 'sdk_ext_user.dart')
- ]);
+ Driver driver = new Driver();
+ await driver.start([
+ '--packages',
+ path.join(testDir, '_packages'),
+ path.join(testDir, 'sdk_ext_user.dart')
+ ]);
DartSdk sdk = driver.sdk;
expect(sdk, new isInstanceOf<FolderBasedDartSdk>());
« no previous file with comments | « pkg/analyzer_cli/test/package_prefix_test.dart ('k') | pkg/analyzer_cli/test/super_mixin_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698