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 |