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

Unified Diff: pkg/analyzer/test/src/lint/project_test.dart

Issue 2992463003: Update linter engine to use driver (linter#743). (Closed)
Patch Set: Created 3 years, 5 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/lib/src/lint/project.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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');
});
« no previous file with comments | « pkg/analyzer/lib/src/lint/project.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698