Index: pkg/analysis_server/test/analysis/set_priority_files_test.dart |
diff --git a/pkg/analysis_server/test/analysis/set_priority_files_test.dart b/pkg/analysis_server/test/analysis/set_priority_files_test.dart |
index f89ba308f94730263dc7ce991702bf72969349b7..9a1b5c9055ed3ee482b89831b1c545e60f87ebfb 100644 |
--- a/pkg/analysis_server/test/analysis/set_priority_files_test.dart |
+++ b/pkg/analysis_server/test/analysis/set_priority_files_test.dart |
@@ -58,7 +58,7 @@ class SetPriorityFilesTest extends AbstractAnalysisTest { |
Response response = await _setPriorityFile(filePath); |
expect(response, isResponseSuccess('0')); |
// verify |
- InternalAnalysisContext sdkContext = server.defaultSdk.context; |
+ InternalAnalysisContext sdkContext = server.findSdk().context; |
List<Source> prioritySources = sdkContext.prioritySources; |
expect(prioritySources, hasLength(1)); |
expect(prioritySources.first.fullName, filePath); |