Index: pkg/analyzer/test/generated/static_type_warning_code_test.dart |
diff --git a/pkg/analyzer/test/generated/static_type_warning_code_test.dart b/pkg/analyzer/test/generated/static_type_warning_code_test.dart |
index 1825c3cc039f672767d3c7652e65fc8c09f88a5f..3165c7692d2c6893f736e06a6b1189ba8ae76b27 100644 |
--- a/pkg/analyzer/test/generated/static_type_warning_code_test.dart |
+++ b/pkg/analyzer/test/generated/static_type_warning_code_test.dart |
@@ -2427,10 +2427,10 @@ main() { |
f/*<int>*/(); |
} |
'''); |
- await computeAnalysisResult(source); |
+ TestAnalysisResult analysisResult = await computeAnalysisResult(source); |
assertErrors( |
source, [StaticTypeWarningCode.WRONG_NUMBER_OF_TYPE_ARGUMENTS_METHOD]); |
- for (AnalysisError error in analysisContext2.computeErrors(source)) { |
+ for (AnalysisError error in analysisResult.errors) { |
if (error.errorCode == |
StaticTypeWarningCode.WRONG_NUMBER_OF_TYPE_ARGUMENTS) { |
expect(error.message, |