Index: pkg/analyzer/test/src/lint/project_test.dart |
diff --git a/pkg/analyzer/test/src/lint/project_test.dart b/pkg/analyzer/test/src/lint/project_test.dart |
index 76282d141fbf559a6a771b1150cf8aa02f5b1821..5dcaa89d9f4876ed34052078913e9c5d9f1bb36e 100644 |
--- a/pkg/analyzer/test/src/lint/project_test.dart |
+++ b/pkg/analyzer/test/src/lint/project_test.dart |
@@ -16,8 +16,8 @@ defineTests() { |
group('basic', () { |
// TODO(brianwilkerson) These tests fail on the bots because the cwd is |
// not the same there as when we run tests locally. |
- group('cwd', () { |
- var project = new DartProject(null, null); |
+ group('cwd', () async { |
+ var project = await DartProject.create(null, null); |
test('name', () { |
expect(project.name, 'analyzer'); |
}); |