Index: pkg/analysis_server/test/analysis/get_errors_test.dart |
diff --git a/pkg/analysis_server/test/analysis/get_errors_test.dart b/pkg/analysis_server/test/analysis/get_errors_test.dart |
index 14203c97ca22e6376c2e78b85827cbd2a10fc62d..4cc0a2f313fee6daf2dcf5dd53a8c8bc44ee74e7 100644 |
--- a/pkg/analysis_server/test/analysis/get_errors_test.dart |
+++ b/pkg/analysis_server/test/analysis/get_errors_test.dart |
@@ -99,7 +99,7 @@ main() { |
// remove context, causes sending an "invalid file" error |
{ |
Folder projectFolder = resourceProvider.getResource(projectPath); |
- server.contextManager.removeContext(projectFolder); |
+ server.contextManager.callbacks.removeContext(projectFolder, <String>[]); |
} |
// wait for an error response |
return serverChannel.waitForResponse(request).then((Response response) { |