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..23a328a2b06556e4c44d7063c306ee62998368a3 100644 |
--- a/pkg/analyzer/test/generated/static_type_warning_code_test.dart |
+++ b/pkg/analyzer/test/generated/static_type_warning_code_test.dart |
@@ -2430,8 +2430,7 @@ main() { |
} |
'''); |
computeLibrarySourceErrors(source); |
- assertErrors( |
- source, [StaticTypeWarningCode.WRONG_NUMBER_OF_TYPE_ARGUMENTS]); |
+ assertErrors(source, [HintCode.WRONG_NUMBER_OF_TYPE_ARGUMENTS_METHOD]); |
Jennifer Messerly
2016/11/08 01:21:57
this test is in strong mode, so this should stay a
Brian Wilkerson
2016/11/08 15:39:07
Done
|
for (AnalysisError error in analysisContext2.computeErrors(source)) { |
if (error.errorCode == |
StaticTypeWarningCode.WRONG_NUMBER_OF_TYPE_ARGUMENTS) { |