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

Unified Diff: pkg/analyzer/test/src/dart/analysis/driver_test.dart

Issue 2569623002: Renames and comment tweaks for files. (Closed)
Patch Set: Created 4 years 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
Index: pkg/analyzer/test/src/dart/analysis/driver_test.dart
diff --git a/pkg/analyzer/test/src/dart/analysis/driver_test.dart b/pkg/analyzer/test/src/dart/analysis/driver_test.dart
index 436f409e1d3c8a78b4483c259921cc5d8ee6eaf3..d44ef4019f334aa411ec70c02ff0a12b0bcc20db 100644
--- a/pkg/analyzer/test/src/dart/analysis/driver_test.dart
+++ b/pkg/analyzer/test/src/dart/analysis/driver_test.dart
@@ -993,9 +993,10 @@ import 'b.dart';
provider.newFile(a, '');
+ // 'a.dart' is added, but not processed yet.
+ // So, the set of known files is empty yet.
driver.addFile(a);
- expect(driver.knownFiles, contains(a));
- expect(driver.knownFiles, isNot(contains(b)));
+ expect(driver.knownFiles, isEmpty);
// Remove 'a.dart'.
// It has been no analysis yet, so 'a.dart' is not in the file state, only

Powered by Google App Engine
This is Rietveld 408576698