| Index: pkg/analyzer/test/src/task/strong/strong_test_helper.dart
|
| diff --git a/pkg/analyzer/test/src/task/strong/strong_test_helper.dart b/pkg/analyzer/test/src/task/strong/strong_test_helper.dart
|
| index ea5c52e1da866a611b121a851e302b4e54002aad..360f6c1dd711bee896446541d5562fd640a32c03 100644
|
| --- a/pkg/analyzer/test/src/task/strong/strong_test_helper.dart
|
| +++ b/pkg/analyzer/test/src/task/strong/strong_test_helper.dart
|
| @@ -97,7 +97,7 @@ void testChecker(String name, Map<String, String> testFiles) {
|
| .getErrors(source)
|
| .errors
|
| .where((error) =>
|
| - error.errorCode.name.startsWith('dev_compiler.InferredType'))
|
| + error.errorCode.name.startsWith('STRONG_MODE_INFERRED_TYPE'))
|
| .toList();
|
| errors.addAll(analyzerErrors);
|
| checker.visitCompilationUnit(resolved);
|
| @@ -483,7 +483,7 @@ List<LibraryElement> reachableLibraries(LibraryElement start) {
|
|
|
| String errorCodeName(ErrorCode errorCode) {
|
| var name = errorCode.name;
|
| - final prefix = 'dev_compiler.';
|
| + final prefix = 'STRONG_MODE_';
|
| if (name.startsWith(prefix)) {
|
| return name.substring(prefix.length);
|
| } else {
|
|
|