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 45dbadc99a93035d0ea3287eefd86716912a8c3b..82b972c5080a43786cf6a90bf31e1ce88e1edaa9 100644 |
--- a/pkg/analyzer/test/generated/static_type_warning_code_test.dart |
+++ b/pkg/analyzer/test/generated/static_type_warning_code_test.dart |
@@ -2431,7 +2431,7 @@ main() { |
'''); |
computeLibrarySourceErrors(source); |
assertErrors( |
- source, [StaticTypeWarningCode.WRONG_NUMBER_OF_TYPE_ARGUMENTS]); |
+ source, [StaticTypeWarningCode.WRONG_NUMBER_OF_TYPE_ARGUMENTS_METHOD]); |
for (AnalysisError error in analysisContext2.computeErrors(source)) { |
if (error.errorCode == |
StaticTypeWarningCode.WRONG_NUMBER_OF_TYPE_ARGUMENTS) { |