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>()); |