Index: pkg/analysis_server/test/analysis/reanalyze_test.dart |
diff --git a/pkg/analysis_server/test/analysis/reanalyze_test.dart b/pkg/analysis_server/test/analysis/reanalyze_test.dart |
index 0b39e881ec7334c8a2eb7970c2ce7b8c423e3c1e..b7f62d05e555d2a27657926d9a4949c27c741f7a 100644 |
--- a/pkg/analysis_server/test/analysis/reanalyze_test.dart |
+++ b/pkg/analysis_server/test/analysis/reanalyze_test.dart |
@@ -32,13 +32,13 @@ class ReanalyzeTest extends AbstractAnalysisTest { |
test_reanalyze() { |
createProject(); |
- List<AnalysisContext> contexts = server.folderMap.values.toList(); |
+ List<AnalysisContext> contexts = server.analysisContexts.toList(); |
expect(contexts, hasLength(1)); |
AnalysisContext oldContext = contexts[0]; |
// Reanalyze should cause a brand new context to be built. |
Request request = new Request("0", ANALYSIS_REANALYZE); |
handleSuccessfulRequest(request); |
- contexts = server.folderMap.values.toList(); |
+ contexts = server.analysisContexts.toList(); |
expect(contexts, hasLength(1)); |
AnalysisContext newContext = contexts[0]; |
expect(newContext, isNot(same(oldContext))); |